/*
 * This is a RANDOMLY GENERATED PROGRAM.
 *
 * Generator: csmith 2.4.0
 * Git version: 72c49db
 * Options:   --bitfields --packed-struct --output test253.c
 * Seed:      3171243909
 */

#include "csmith.h"


static long __undefined;

/* --- Struct/Union Declarations --- */
#pragma pack(push)
#pragma pack(1)
struct S0 {
   unsigned f0 : 1;
   volatile unsigned f1 : 20;
};
#pragma pack(pop)

/* --- GLOBAL VARIABLES --- */
static volatile int32_t g_3[3] = {(-1L),(-1L),(-1L)};
static volatile int32_t g_4 = 0L;/* VOLATILE GLOBAL g_4 */
static volatile int32_t g_5 = 0x3531F145L;/* VOLATILE GLOBAL g_5 */
static int32_t g_6[1] = {(-7L)};
static uint32_t g_22 = 18446744073709551607UL;
static int16_t g_31[1][2] = {{0xEFC7L,0xEFC7L}};
static struct S0 g_41[4][2] = {{{0,799},{0,799}},{{0,799},{0,799}},{{0,799},{0,799}},{{0,799},{0,799}}};
static struct S0 * volatile g_42[7] = {&g_41[1][1],&g_41[1][1],&g_41[1][1],&g_41[1][1],&g_41[1][1],&g_41[1][1],&g_41[1][1]};
static struct S0 g_43[1][4][3] = {{{{0,719},{0,719},{0,719}},{{0,719},{0,719},{0,719}},{{0,719},{0,719},{0,719}},{{0,719},{0,719},{0,719}}}};
static int32_t g_45 = 0x9E48991CL;
static int32_t * volatile g_71 = &g_45;/* VOLATILE GLOBAL g_71 */
static int32_t * const  volatile g_120 = (void*)0;/* VOLATILE GLOBAL g_120 */
static int32_t * volatile * volatile g_121 = (void*)0;/* VOLATILE GLOBAL g_121 */
static volatile int32_t *g_149 = &g_3[0];
static uint64_t g_157 = 0xA3D20666721655C0LL;
static uint32_t g_180[2] = {0x58A5ED25L,0x58A5ED25L};
static struct S0 g_184 = {0,830};/* VOLATILE GLOBAL g_184 */
static struct S0 * volatile g_185 = &g_43[0][2][2];/* VOLATILE GLOBAL g_185 */
static int16_t g_191[9] = {1L,7L,7L,1L,7L,7L,1L,7L,7L};
static int16_t *g_190 = &g_191[8];
static int32_t *g_200 = &g_45;
static int32_t ** volatile g_199[3] = {&g_200,&g_200,&g_200};
static int64_t g_218[6][4] = {{1L,0x50AE0783CDB2F457LL,1L,0x50AE0783CDB2F457LL},{1L,0x50AE0783CDB2F457LL,1L,0x50AE0783CDB2F457LL},{1L,0x50AE0783CDB2F457LL,1L,0x50AE0783CDB2F457LL},{1L,0x50AE0783CDB2F457LL,1L,0x50AE0783CDB2F457LL},{1L,0x50AE0783CDB2F457LL,1L,0x50AE0783CDB2F457LL},{1L,0x50AE0783CDB2F457LL,1L,0x50AE0783CDB2F457LL}};
static struct S0 g_242 = {0,304};/* VOLATILE GLOBAL g_242 */
static uint8_t g_254[4] = {1UL,1UL,1UL,1UL};
static volatile struct S0 g_301 = {0,206};/* VOLATILE GLOBAL g_301 */
static const volatile int32_t * volatile g_352 = &g_3[2];/* VOLATILE GLOBAL g_352 */
static int8_t g_358 = 8L;
static int64_t g_359[3][7] = {{0x201B4DF1B775D0AALL,0x6840F77E53F1E11FLL,0x1183E08D4017C4DELL,0x1183E08D4017C4DELL,0x6840F77E53F1E11FLL,0x201B4DF1B775D0AALL,0x9446AC04568D5564LL},{0x201B4DF1B775D0AALL,0x6840F77E53F1E11FLL,0x1183E08D4017C4DELL,0x1183E08D4017C4DELL,0x6840F77E53F1E11FLL,0x201B4DF1B775D0AALL,0x9446AC04568D5564LL},{0x201B4DF1B775D0AALL,0x6840F77E53F1E11FLL,0x1183E08D4017C4DELL,0x1183E08D4017C4DELL,0x6840F77E53F1E11FLL,0x201B4DF1B775D0AALL,0x9446AC04568D5564LL}};
static volatile int32_t * volatile g_361 = &g_3[1];/* VOLATILE GLOBAL g_361 */
static volatile int32_t * volatile * volatile g_362 = &g_361;/* VOLATILE GLOBAL g_362 */
static uint32_t g_389[6][1][3] = {{{4294967295UL,4294967295UL,4294967295UL}},{{0x70552E89L,0xDE906DD1L,0x70552E89L}},{{4294967295UL,4294967295UL,4294967295UL}},{{0x70552E89L,0xDE906DD1L,0x70552E89L}},{{4294967295UL,4294967295UL,4294967295UL}},{{0x70552E89L,0xDE906DD1L,0x70552E89L}}};
static int16_t g_391 = 0xB4B3L;
static volatile struct S0 g_393 = {0,77};/* VOLATILE GLOBAL g_393 */
static uint8_t g_406 = 0x00L;
static uint8_t *g_405 = &g_406;
static uint8_t **g_404[4] = {&g_405,&g_405,&g_405,&g_405};
static uint16_t g_411 = 1UL;
static int32_t g_418 = 0x81C13B8FL;
static const int8_t g_448 = 0L;
static uint64_t g_458 = 0xD742D97CE08067BELL;
static uint32_t *g_473 = &g_22;
static volatile int32_t * volatile * const  volatile g_492 = &g_361;/* VOLATILE GLOBAL g_492 */
static int32_t g_495 = 0xF0B25886L;
static volatile struct S0 g_562 = {0,659};/* VOLATILE GLOBAL g_562 */
static volatile struct S0 * const  volatile g_563 = &g_393;/* VOLATILE GLOBAL g_563 */
static struct S0 *g_591 = &g_43[0][0][1];
static struct S0 **g_590 = &g_591;
static struct S0 *** volatile g_589[5][9] = {{&g_590,&g_590,&g_590,&g_590,&g_590,&g_590,(void*)0,&g_590,&g_590},{&g_590,(void*)0,(void*)0,(void*)0,&g_590,&g_590,(void*)0,&g_590,&g_590},{(void*)0,&g_590,&g_590,&g_590,&g_590,&g_590,&g_590,(void*)0,(void*)0},{&g_590,&g_590,&g_590,(void*)0,&g_590,&g_590,&g_590,&g_590,&g_590},{&g_590,&g_590,(void*)0,&g_590,(void*)0,&g_590,(void*)0,&g_590,(void*)0}};
static struct S0 *** volatile g_592 = &g_590;/* VOLATILE GLOBAL g_592 */
static struct S0 g_602 = {0,190};/* VOLATILE GLOBAL g_602 */
static struct S0 g_603[5][5] = {{{0,604},{0,604},{0,604},{0,604},{0,604}},{{0,14},{0,14},{0,14},{0,14},{0,14}},{{0,604},{0,604},{0,604},{0,604},{0,604}},{{0,14},{0,14},{0,14},{0,14},{0,14}},{{0,604},{0,604},{0,604},{0,604},{0,604}}};
static struct S0 g_604 = {0,1017};/* VOLATILE GLOBAL g_604 */
static struct S0 g_613 = {0,427};/* VOLATILE GLOBAL g_613 */
static volatile int64_t g_629 = 1L;/* VOLATILE GLOBAL g_629 */
static uint32_t g_639 = 1UL;
static struct S0 g_644 = {0,866};/* VOLATILE GLOBAL g_644 */
static uint8_t g_645 = 0xE9L;
static struct S0 g_653 = {0,156};/* VOLATILE GLOBAL g_653 */
static struct S0 * volatile g_654 = &g_653;/* VOLATILE GLOBAL g_654 */
static struct S0 g_676[3][8][5] = {{{{0,1004},{0,826},{0,417},{0,552},{0,898}},{{0,473},{0,242},{0,132},{0,749},{0,132}},{{0,16},{0,16},{0,573},{0,473},{0,955}},{{0,417},{0,28},{0,208},{0,773},{0,389}},{{0,826},{0,34},{0,1011},{0,853},{0,199}},{{0,898},{0,28},{0,16},{0,417},{0,773}},{{0,532},{0,16},{0,826},{0,818},{0,208}},{{0,853},{0,242},{0,250},{0,448},{0,473}}},{{{0,749},{0,826},{0,568},{0,341},{0,473}},{{0,573},{0,1004},{0,199},{0,208},{0,199}},{{0,370},{0,199},{0,370},{0,1004},{0,242}},{{0,164},{0,341},{0,853},{0,557},{0,1000}},{{0,818},{0,287},{0,557},{0,749},{0,955}},{{0,250},{0,242},{0,853},{0,1000},{0,287}},{{0,1000},{0,552},{0,370},{0,448},{0,16}},{{0,152},{0,898},{0,1000},{0,826},{0,341}}},{{{0,242},{0,124},{0,507},{0,955},{0,473}},{{0,242},{0,1000},{0,124},{0,826},{0,152}},{{0,152},{0,28},{0,28},{0,152},{0,124}},{{0,1000},{0,749},{0,573},{0,898},{0,568}},{{0,250},{0,891},{0,818},{0,853},{0,208}},{{0,818},{0,568},{0,199},{0,898},{0,250}},{{0,164},{0,557},{0,687},{0,152},{0,898}},{{0,370},{0,448},{0,16},{0,826},{0,935}}}};
static struct S0 g_705 = {0,23};/* VOLATILE GLOBAL g_705 */
static volatile uint32_t *g_708 = (void*)0;
static volatile uint32_t ** volatile g_707[5][6][8] = {{{&g_708,&g_708,&g_708,&g_708,&g_708,&g_708,&g_708,(void*)0},{&g_708,&g_708,&g_708,&g_708,&g_708,&g_708,&g_708,&g_708},{(void*)0,&g_708,&g_708,&g_708,&g_708,&g_708,&g_708,&g_708},{&g_708,&g_708,&g_708,&g_708,&g_708,&g_708,&g_708,(void*)0},{&g_708,&g_708,&g_708,&g_708,&g_708,&g_708,&g_708,&g_708},{(void*)0,&g_708,&g_708,&g_708,&g_708,&g_708,&g_708,&g_708}},{{&g_708,&g_708,&g_708,&g_708,&g_708,&g_708,&g_708,(void*)0},{&g_708,&g_708,&g_708,&g_708,&g_708,&g_708,&g_708,&g_708},{(void*)0,&g_708,&g_708,&g_708,&g_708,&g_708,&g_708,&g_708},{&g_708,&g_708,&g_708,&g_708,&g_708,&g_708,&g_708,(void*)0},{&g_708,&g_708,&g_708,&g_708,&g_708,&g_708,&g_708,&g_708},{(void*)0,&g_708,&g_708,&g_708,&g_708,&g_708,&g_708,&g_708}},{{&g_708,&g_708,&g_708,&g_708,&g_708,&g_708,&g_708,(void*)0},{&g_708,&g_708,&g_708,&g_708,&g_708,&g_708,&g_708,&g_708},{(void*)0,&g_708,&g_708,&g_708,&g_708,&g_708,&g_708,&g_708},{(void*)0,&g_708,(void*)0,(void*)0,&g_708,&g_708,&g_708,&g_708},{&g_708,&g_708,&g_708,(void*)0,(void*)0,&g_708,&g_708,&g_708},{&g_708,&g_708,&g_708,&g_708,(void*)0,(void*)0,&g_708,(void*)0}},{{&g_708,&g_708,&g_708,&g_708,&g_708,(void*)0,&g_708,&g_708},{(void*)0,&g_708,&g_708,&g_708,&g_708,&g_708,&g_708,&g_708},{&g_708,&g_708,&g_708,&g_708,&g_708,&g_708,&g_708,&g_708},{&g_708,&g_708,&g_708,&g_708,&g_708,&g_708,&g_708,&g_708},{&g_708,&g_708,&g_708,&g_708,&g_708,&g_708,&g_708,(void*)0},{&g_708,&g_708,(void*)0,&g_708,&g_708,&g_708,&g_708,&g_708}},{{(void*)0,&g_708,(void*)0,(void*)0,&g_708,&g_708,&g_708,&g_708},{&g_708,&g_708,&g_708,(void*)0,(void*)0,&g_708,&g_708,&g_708},{&g_708,&g_708,&g_708,&g_708,(void*)0,(void*)0,&g_708,(void*)0},{&g_708,&g_708,&g_708,&g_708,&g_708,(void*)0,&g_708,&g_708},{(void*)0,&g_708,&g_708,&g_708,&g_708,&g_708,&g_708,&g_708},{&g_708,&g_708,&g_708,&g_708,&g_708,&g_708,&g_708,&g_708}}};
static volatile uint32_t ** volatile * volatile g_709 = &g_707[2][0][1];/* VOLATILE GLOBAL g_709 */
static volatile uint64_t * const  volatile * volatile g_722 = (void*)0;/* VOLATILE GLOBAL g_722 */
static const uint32_t *g_768[2][5][1] = {{{&g_389[1][0][1]},{&g_180[1]},{&g_180[1]},{&g_180[1]},{&g_389[1][0][1]}},{{&g_389[1][0][1]},{&g_180[1]},{&g_180[1]},{&g_180[1]},{&g_389[1][0][1]}}};
static const uint32_t **g_767 = &g_768[0][4][0];
static const uint32_t ***g_766 = &g_767;
static int8_t *g_841 = &g_358;
static int8_t **g_840 = &g_841;
static int8_t ***g_839[8][8] = {{&g_840,&g_840,&g_840,&g_840,&g_840,&g_840,&g_840,&g_840},{&g_840,&g_840,&g_840,&g_840,&g_840,&g_840,&g_840,&g_840},{&g_840,&g_840,&g_840,&g_840,&g_840,&g_840,&g_840,&g_840},{&g_840,&g_840,&g_840,&g_840,&g_840,&g_840,&g_840,&g_840},{&g_840,&g_840,&g_840,&g_840,&g_840,&g_840,&g_840,&g_840},{&g_840,&g_840,&g_840,&g_840,&g_840,&g_840,&g_840,&g_840},{&g_840,&g_840,&g_840,&g_840,&g_840,&g_840,&g_840,&g_840},{&g_840,&g_840,&g_840,&g_840,&g_840,&g_840,&g_840,&g_840}};
static volatile struct S0 * volatile g_842 = &g_562;/* VOLATILE GLOBAL g_842 */
static volatile uint64_t * const  volatile * volatile *g_859 = &g_722;
static volatile uint64_t * const  volatile * volatile ** volatile g_858 = &g_859;/* VOLATILE GLOBAL g_858 */
static volatile struct S0 g_862 = {0,598};/* VOLATILE GLOBAL g_862 */
static volatile struct S0 g_864 = {0,523};/* VOLATILE GLOBAL g_864 */
static const uint32_t g_869 = 0UL;
static int8_t g_906 = 0xE9L;
static uint32_t **g_936 = (void*)0;
static uint32_t ***g_935 = &g_936;
static uint32_t ****g_934 = &g_935;
static struct S0 g_969 = {0,613};/* VOLATILE GLOBAL g_969 */
static const struct S0 g_975 = {0,532};/* VOLATILE GLOBAL g_975 */
static struct S0 * volatile g_976 = &g_653;/* VOLATILE GLOBAL g_976 */
static struct S0 ** volatile g_1021 = &g_591;/* VOLATILE GLOBAL g_1021 */
static int32_t **g_1076 = (void*)0;
static int32_t ***g_1075 = &g_1076;
static int32_t ** const  volatile g_1101 = &g_200;/* VOLATILE GLOBAL g_1101 */
static int16_t g_1127[6] = {1L,1L,0xED0FL,1L,1L,0xED0FL};
static struct S0 g_1139 = {0,197};/* VOLATILE GLOBAL g_1139 */
static struct S0 g_1152 = {0,803};/* VOLATILE GLOBAL g_1152 */
static const uint64_t *g_1178 = &g_458;
static const uint64_t **g_1177 = &g_1178;
static volatile int64_t g_1224 = 0xBCF0283B20AAF837LL;/* VOLATILE GLOBAL g_1224 */
static volatile struct S0 * const  volatile g_1239 = &g_864;/* VOLATILE GLOBAL g_1239 */
static uint8_t **g_1257 = &g_405;
static int32_t ** volatile g_1260 = &g_200;/* VOLATILE GLOBAL g_1260 */
static struct S0 g_1318 = {0,894};/* VOLATILE GLOBAL g_1318 */
static uint32_t *****g_1347 = &g_934;
static int32_t g_1363 = (-10L);
static struct S0 g_1501 = {0,789};/* VOLATILE GLOBAL g_1501 */
static struct S0 * volatile g_1502 = (void*)0;/* VOLATILE GLOBAL g_1502 */
static uint64_t *g_1524 = &g_458;
static uint64_t **g_1523 = &g_1524;
static int32_t ** volatile g_1548 = &g_200;/* VOLATILE GLOBAL g_1548 */
static struct S0 g_1558 = {0,97};/* VOLATILE GLOBAL g_1558 */
static struct S0 g_1583 = {0,803};/* VOLATILE GLOBAL g_1583 */
static volatile struct S0 g_1586 = {0,868};/* VOLATILE GLOBAL g_1586 */
static volatile struct S0 * volatile g_1587 = &g_301;/* VOLATILE GLOBAL g_1587 */
static struct S0 g_1615 = {0,843};/* VOLATILE GLOBAL g_1615 */
static volatile uint64_t g_1621[1][1][4] = {{{0xF47B5AEC1FDA2EC1LL,0xF47B5AEC1FDA2EC1LL,0xF47B5AEC1FDA2EC1LL,0xF47B5AEC1FDA2EC1LL}}};
static uint32_t *g_1636 = &g_389[2][0][2];
static uint32_t **g_1635 = &g_1636;
static uint32_t *** const g_1634 = &g_1635;
static uint32_t *** const *g_1633 = &g_1634;
static uint32_t *** const **g_1632 = &g_1633;
static volatile int32_t * volatile * volatile g_1640 = (void*)0;/* VOLATILE GLOBAL g_1640 */
static struct S0 g_1668 = {0,652};/* VOLATILE GLOBAL g_1668 */
static struct S0 * volatile g_1669[1] = {&g_644};
static struct S0 * volatile g_1670 = (void*)0;/* VOLATILE GLOBAL g_1670 */
static struct S0 * volatile g_1671 = &g_705;/* VOLATILE GLOBAL g_1671 */
static struct S0 g_1672 = {0,39};/* VOLATILE GLOBAL g_1672 */
static struct S0 g_1691 = {0,702};/* VOLATILE GLOBAL g_1691 */
static struct S0 g_1714 = {0,437};/* VOLATILE GLOBAL g_1714 */
static struct S0 g_1735 = {0,179};/* VOLATILE GLOBAL g_1735 */
static const int32_t *g_1738 = &g_495;
static const int32_t ** volatile g_1737 = &g_1738;/* VOLATILE GLOBAL g_1737 */
static const uint32_t *g_1750 = &g_639;
static const uint32_t **g_1749[10][7] = {{(void*)0,&g_1750,&g_1750,&g_1750,&g_1750,&g_1750,&g_1750},{&g_1750,&g_1750,&g_1750,&g_1750,&g_1750,&g_1750,&g_1750},{&g_1750,&g_1750,&g_1750,&g_1750,&g_1750,&g_1750,&g_1750},{(void*)0,(void*)0,(void*)0,&g_1750,&g_1750,&g_1750,&g_1750},{(void*)0,&g_1750,(void*)0,&g_1750,(void*)0,&g_1750,&g_1750},{&g_1750,&g_1750,&g_1750,&g_1750,(void*)0,&g_1750,&g_1750},{&g_1750,&g_1750,&g_1750,&g_1750,&g_1750,&g_1750,(void*)0},{&g_1750,&g_1750,&g_1750,&g_1750,(void*)0,&g_1750,&g_1750},{(void*)0,(void*)0,&g_1750,&g_1750,&g_1750,&g_1750,&g_1750},{(void*)0,(void*)0,&g_1750,&g_1750,(void*)0,&g_1750,&g_1750}};
static const int8_t *g_1768 = &g_358;
static const int8_t **g_1767 = &g_1768;
static int8_t g_1771 = 0xD7L;
static struct S0 g_1774 = {0,168};/* VOLATILE GLOBAL g_1774 */
static struct S0 g_1775 = {0,495};/* VOLATILE GLOBAL g_1775 */
static const struct S0 *g_1785 = &g_975;
static const struct S0 **g_1784 = &g_1785;
static volatile uint32_t g_1850 = 0UL;/* VOLATILE GLOBAL g_1850 */
static struct S0 g_1863 = {0,445};/* VOLATILE GLOBAL g_1863 */
static volatile uint8_t g_1899 = 4UL;/* VOLATILE GLOBAL g_1899 */
static volatile uint8_t *g_1898 = &g_1899;
static volatile uint8_t **g_1897[1] = {&g_1898};
static struct S0 *** volatile *g_1997[2][5] = {{&g_589[3][2],&g_589[3][2],&g_589[3][2],&g_589[3][2],&g_589[3][2]},{&g_592,&g_592,&g_592,&g_592,&g_592}};
static int32_t ** volatile g_2025 = &g_200;/* VOLATILE GLOBAL g_2025 */
static volatile int8_t g_2054 = 1L;/* VOLATILE GLOBAL g_2054 */
static volatile int8_t * volatile g_2053 = &g_2054;/* VOLATILE GLOBAL g_2053 */
static volatile int8_t * volatile *g_2052 = &g_2053;
static struct S0 g_2057 = {0,71};/* VOLATILE GLOBAL g_2057 */
static struct S0 * volatile g_2058 = (void*)0;/* VOLATILE GLOBAL g_2058 */
static uint8_t ***g_2092 = (void*)0;
static uint8_t **** const  volatile g_2091 = &g_2092;/* VOLATILE GLOBAL g_2091 */
static uint32_t g_2105 = 0xFC17C49EL;
static volatile struct S0 g_2111 = {0,165};/* VOLATILE GLOBAL g_2111 */
static int64_t g_2132 = 1L;
static struct S0 g_2148 = {0,567};/* VOLATILE GLOBAL g_2148 */
static struct S0 g_2149 = {0,807};/* VOLATILE GLOBAL g_2149 */
static volatile uint64_t g_2179 = 5UL;/* VOLATILE GLOBAL g_2179 */
static struct S0 ** volatile g_2197 = &g_591;/* VOLATILE GLOBAL g_2197 */
static struct S0 g_2223 = {0,87};/* VOLATILE GLOBAL g_2223 */
static int32_t g_2267 = (-1L);
static uint32_t g_2293 = 18446744073709551615UL;
static uint32_t g_2294[7][7][5] = {{{0x929FE37AL,0xA1A29474L,0x35CE732DL,0x893A382BL,0x3998F251L},{1UL,1UL,6UL,0xA1A29474L,18446744073709551615UL},{18446744073709551615UL,1UL,18446744073709551607UL,0xC183B6CAL,18446744073709551615UL},{0x35CE732DL,0x4145CF19L,18446744073709551615UL,1UL,0xC183B6CAL},{0xC183B6CAL,18446744073709551615UL,0xC2F6F425L,4UL,0x929FE37AL},{0xC183B6CAL,18446744073709551609UL,0x96768606L,18446744073709551615UL,0x376221ACL},{0x35CE732DL,0xC81BD2F3L,18446744073709551615UL,9UL,0xA1A29474L}},{{18446744073709551615UL,18446744073709551615UL,18446744073709551615UL,18446744073709551615UL,0UL},{1UL,0xC183B6CAL,0xD66E51D1L,0x3998F251L,18446744073709551615UL},{0x929FE37AL,0x4145CF19L,18446744073709551615UL,0x35CE732DL,18446744073709551609UL},{0xC81BD2F3L,0x36A2CD59L,0x929FE37AL,0x3998F251L,0x36A2CD59L},{0x376221ACL,0x470F0D73L,1UL,18446744073709551615UL,1UL},{6UL,0xA1A29474L,18446744073709551615UL,9UL,18446744073709551609UL},{0x470F0D73L,9UL,0x42F5E4AEL,18446744073709551615UL,8UL}},{{0x4145CF19L,0x5FEF8B23L,18446744073709551610UL,4UL,0x4FD1CC37L},{18446744073709551615UL,0x5FEF8B23L,0x35CE732DL,1UL,0xA1A29474L},{0xC81BD2F3L,9UL,8UL,0xC183B6CAL,18446744073709551615UL},{0x3998F251L,0xA1A29474L,18446744073709551610UL,0xA1A29474L,0x3998F251L},{0x36A2CD59L,0x470F0D73L,6UL,0x893A382BL,0xC183B6CAL},{18446744073709551615UL,0xD66E51D1L,2UL,0x35CE732DL,1UL},{1UL,0UL,18446744073709551615UL,1UL,0x35CE732DL}},{{18446744073709551610UL,0x35CE732DL,18446744073709551613UL,2UL,6UL},{0x35CE732DL,0xBBB564C6L,18446744073709551610UL,0x929FE37AL,18446744073709551607UL},{1UL,0x893A382BL,18446744073709551615UL,0xB32D8715L,18446744073709551615UL},{0x0E3D991DL,18446744073709551615UL,0xBBB564C6L,0x0E3D991DL,0xC2F6F425L},{18446744073709551615UL,18446744073709551610UL,0xBBB564C6L,6UL,0x96768606L},{6UL,0UL,18446744073709551615UL,1UL,18446744073709551615UL},{0x657F9542L,18446744073709551615UL,18446744073709551610UL,18446744073709551610UL,18446744073709551615UL}},{{0x42F5E4AEL,0UL,18446744073709551613UL,18446744073709551615UL,0xD66E51D1L},{0UL,18446744073709551615UL,18446744073709551615UL,0xB32D8715L,18446744073709551615UL},{0UL,0xB32D8715L,2UL,0x96768606L,0x929FE37AL},{0UL,18446744073709551613UL,0xECCA689CL,0x36A2CD59L,1UL},{0x42F5E4AEL,9UL,0x470F0D73L,1UL,18446744073709551615UL},{0x657F9542L,0xB32D8715L,0x96768606L,18446744073709551610UL,0x42F5E4AEL},{6UL,0xFF7C6584L,0x4FE558CBL,18446744073709551615UL,18446744073709551610UL}},{{18446744073709551615UL,1UL,0x4FD1CC37L,18446744073709551615UL,0x35CE732DL},{0x0E3D991DL,18446744073709551615UL,2UL,18446744073709551610UL,8UL},{1UL,0xECCA689CL,18446744073709551610UL,1UL,18446744073709551610UL},{0x35CE732DL,0x35CE732DL,1UL,0x36A2CD59L,6UL},{18446744073709551610UL,18446744073709551615UL,18446744073709551610UL,0x96768606L,0x42F5E4AEL},{1UL,0x657F9542L,1UL,0xB32D8715L,0xFF7C6584L},{18446744073709551615UL,18446744073709551615UL,18446744073709551615UL,18446744073709551615UL,0xC2F6F425L}},{{0xD66E51D1L,0x35CE732DL,0xBBB564C6L,18446744073709551610UL,0x929FE37AL},{6UL,0xECCA689CL,1UL,1UL,0xBBB564C6L},{0x893A382BL,18446744073709551615UL,0x4145CF19L,6UL,18446744073709551615UL},{18446744073709551607UL,1UL,18446744073709551613UL,0x0E3D991DL,18446744073709551615UL},{0UL,0xFF7C6584L,18446744073709551610UL,0xB32D8715L,0xBBB564C6L},{1UL,0xB32D8715L,1UL,0x929FE37AL,0x929FE37AL},{0xECCA689CL,9UL,0xECCA689CL,2UL,0xC2F6F425L}}};
static int16_t **g_2340 = (void*)0;
static int32_t g_2384 = 6L;
static struct S0 g_2441[4][2][10] = {{{{0,488},{0,313},{0,748},{0,616},{0,748},{0,313},{0,488},{0,748},{0,793},{0,226}},{{0,313},{0,488},{0,748},{0,793},{0,226},{0,313},{0,313},{0,226},{0,793},{0,748}}},{{{0,488},{0,488},{0,129},{0,616},{0,226},{0,527},{0,488},{0,226},{0,601},{0,226}},{{0,488},{0,313},{0,748},{0,616},{0,748},{0,313},{0,488},{0,748},{0,793},{0,226}}},{{{0,313},{0,748},{0,247},{0,320},{0,43},{0,129},{0,129},{0,43},{0,320},{0,247}},{{0,748},{0,748},{0,1009},{0,560},{0,43},{0,226},{0,748},{0,43},{0,350},{0,43}}},{{{0,748},{0,129},{0,247},{0,560},{0,247},{0,129},{0,748},{0,247},{0,320},{0,43}},{{0,129},{0,748},{0,247},{0,320},{0,43},{0,129},{0,129},{0,43},{0,320},{0,247}}}};
static const int32_t *g_2446[2][7] = {{&g_1363,&g_1363,&g_45,&g_1363,&g_1363,&g_45,&g_1363},{&g_1363,&g_6[0],&g_6[0],&g_1363,&g_6[0],&g_6[0],&g_1363}};
static const int32_t ** const  volatile g_2445 = &g_2446[1][1];/* VOLATILE GLOBAL g_2445 */
static int8_t ** const *g_2502 = &g_840;
static int8_t ** const **g_2501 = &g_2502;
static int8_t ** const *** volatile g_2500 = &g_2501;/* VOLATILE GLOBAL g_2500 */
static volatile struct S0 g_2536 = {0,787};/* VOLATILE GLOBAL g_2536 */
static volatile int32_t * volatile g_2540 = &g_5;/* VOLATILE GLOBAL g_2540 */
static int32_t g_2636 = (-7L);
static struct S0 g_2637 = {0,821};/* VOLATILE GLOBAL g_2637 */
static volatile struct S0 g_2639 = {0,593};/* VOLATILE GLOBAL g_2639 */
static volatile struct S0 * volatile g_2640 = &g_864;/* VOLATILE GLOBAL g_2640 */
static int32_t ** volatile g_2677 = &g_200;/* VOLATILE GLOBAL g_2677 */
static int16_t g_2681 = (-5L);
static int64_t g_2683 = (-1L);
static int8_t * const g_2713 = (void*)0;
static int8_t * const *g_2712 = &g_2713;
static int8_t * const **g_2711 = &g_2712;
static int8_t * const ***g_2710[2] = {&g_2711,&g_2711};
static int32_t ** volatile g_2725 = &g_200;/* VOLATILE GLOBAL g_2725 */
static int16_t g_2732 = 0x9C83L;
static struct S0 g_2753 = {0,255};/* VOLATILE GLOBAL g_2753 */
static struct S0 * volatile g_2754 = &g_2148;/* VOLATILE GLOBAL g_2754 */
static const volatile int32_t * volatile ** volatile * const g_2801 = (void*)0;
static const volatile int32_t * volatile ** volatile * const  volatile * volatile g_2800 = &g_2801;/* VOLATILE GLOBAL g_2800 */
static struct S0 g_2831 = {0,345};/* VOLATILE GLOBAL g_2831 */
static uint16_t g_2847 = 1UL;
static int32_t *g_2881 = &g_2636;
static int32_t ** volatile g_2880[4] = {&g_2881,&g_2881,&g_2881,&g_2881};
static volatile struct S0 g_2903 = {0,513};/* VOLATILE GLOBAL g_2903 */
static const uint32_t ***g_2910 = (void*)0;
static uint32_t *g_2945 = &g_180[0];
static uint32_t ** const g_2944 = &g_2945;
static uint32_t ** const *g_2943[8][8] = {{&g_2944,&g_2944,&g_2944,&g_2944,(void*)0,(void*)0,&g_2944,&g_2944},{&g_2944,&g_2944,(void*)0,(void*)0,&g_2944,&g_2944,&g_2944,&g_2944},{&g_2944,(void*)0,&g_2944,(void*)0,&g_2944,&g_2944,&g_2944,(void*)0},{&g_2944,&g_2944,&g_2944,(void*)0,&g_2944,(void*)0,&g_2944,&g_2944},{&g_2944,&g_2944,&g_2944,(void*)0,(void*)0,&g_2944,&g_2944,&g_2944},{&g_2944,(void*)0,(void*)0,&g_2944,&g_2944,&g_2944,&g_2944,&g_2944},{&g_2944,(void*)0,&g_2944,(void*)0,&g_2944,&g_2944,&g_2944,&g_2944},{&g_2944,(void*)0,(void*)0,(void*)0,&g_2944,&g_2944,(void*)0,(void*)0}};
static uint64_t ***g_2963[2] = {&g_1523,&g_1523};
static int32_t ** volatile g_3001 = (void*)0;/* VOLATILE GLOBAL g_3001 */
static const uint8_t g_3036 = 0xB9L;
static const struct S0 g_3069[4][4][3] = {{{{0,888},{0,19},{0,888}},{{0,888},{0,19},{0,888}},{{0,888},{0,19},{0,888}},{{0,888},{0,19},{0,888}}},{{{0,888},{0,19},{0,888}},{{0,888},{0,19},{0,888}},{{0,888},{0,19},{0,888}},{{0,888},{0,19},{0,888}}},{{{0,888},{0,19},{0,888}},{{0,888},{0,19},{0,888}},{{0,888},{0,19},{0,888}},{{0,888},{0,19},{0,888}}},{{{0,888},{0,19},{0,888}},{{0,888},{0,19},{0,888}},{{0,888},{0,19},{0,888}},{{0,888},{0,19},{0,888}}}};
static struct S0 * volatile g_3070 = &g_242;/* VOLATILE GLOBAL g_3070 */


/* --- FORWARD DECLARATIONS --- */
static int8_t  func_1(void);
static uint8_t  func_9(uint8_t  p_10);
static uint64_t  func_13(int64_t  p_14);
static struct S0  func_26(int16_t  p_27);
static struct S0  func_61(const int16_t  p_62, uint32_t * p_63, int16_t  p_64, const struct S0 * const  p_65);
static int32_t * func_72(uint8_t  p_73, int8_t  p_74, uint32_t  p_75, uint8_t  p_76);
static int16_t  func_79(uint16_t  p_80, const int16_t  p_81);
static uint16_t  func_82(const int32_t  p_83, int32_t * p_84, uint32_t  p_85, const uint32_t * p_86, int16_t  p_87);
static uint32_t  func_88(int16_t * p_89, int32_t  p_90, int16_t  p_91, int16_t  p_92, int16_t * p_93);
static int16_t  func_94(uint32_t  p_95);


/* --- FUNCTIONS --- */
/* ------------------------------------------ */
/* 
 * reads : g_4 g_6 g_5 g_22 g_41 g_1714 g_405 g_1524 g_458 g_495 g_603 g_840 g_841 g_358 g_45 g_590 g_591 g_1735 g_1737 g_906 g_359 g_149 g_31 g_1749 g_1583.f1 g_406 g_1523 g_1767 g_1771 g_1127 g_1738 g_1239 g_864 g_1774 g_676.f1 g_602.f1 g_563 g_393 g_3 g_361 g_2197 g_190 g_191 g_200 g_1101 g_2223 g_180 g_653.f0 g_71 g_391 g_1257 g_1633 g_1634 g_1635 g_1636 g_1558.f0 g_2052 g_2053 g_2054 g_1260 g_411 g_934 g_935 g_936 g_1632 g_2111.f1 g_2267 g_1139.f0 g_1177 g_1178 g_1363 g_2057.f0 g_389 g_352 g_975.f0 g_613.f0 g_645 g_157 g_859 g_722 g_858 g_2441 g_2445 g_2025 g_473 g_1898 g_1899 g_2536.f0 g_1850 g_2502 g_418 g_2501 g_639 g_2384 g_562.f0 g_2636 g_2500 g_2637 g_2540 g_2639 g_2640 g_2294 g_2677 g_592 g_1768
 * writes: g_6 g_22 g_31 g_43 g_613 g_495 g_406 g_458 g_358 g_906 g_1738 g_3 g_1749 g_218 g_1767 g_1775 g_1784 g_411 g_562 g_1771 g_391 g_157 g_591 g_45 g_389 g_418 g_1523 g_191 g_5 g_1363 g_2340 g_1127 g_722 g_602 g_864 g_2446 g_200 g_645 g_190 g_41 g_2132
 */
static int8_t  func_1(void)
{ /* block id: 0 */
    int16_t l_2[5][6][4] = {{{0x362DL,0xECF4L,0L,0L},{0x452AL,(-7L),2L,(-7L)},{0xCB51L,0x8BFCL,0x362DL,(-7L)},{0x362DL,(-7L),0xF90EL,0L},{0x5C9EL,0x3992L,0x5C9EL,0x8BFCL},{0x362DL,0x21A3L,(-1L),0x3992L}},{{1L,0x8BFCL,1L,(-5L)},{0xF90EL,0x8BFCL,0x5C9EL,0x3992L},{0L,0x21A3L,2L,0x8BFCL},{1L,0x3992L,2L,(-5L)},{0L,0L,0x5C9EL,0L},{0xF90EL,0x21A3L,1L,0L}},{{1L,0L,(-1L),(-5L)},{0x362DL,0x3992L,0x5C9EL,0x8BFCL},{0x362DL,0x21A3L,(-1L),0x3992L},{1L,0x8BFCL,1L,(-5L)},{0xF90EL,0x8BFCL,0x5C9EL,0x3992L},{0L,0x21A3L,2L,0x8BFCL}},{{1L,0x3992L,2L,(-5L)},{0L,0L,0x5C9EL,0L},{0xF90EL,0x21A3L,1L,0L},{1L,0L,(-1L),(-5L)},{0x362DL,0x3992L,0x5C9EL,0x8BFCL},{0x362DL,0x21A3L,(-1L),0x3992L}},{{1L,0x8BFCL,1L,(-5L)},{0xF90EL,0x8BFCL,0x5C9EL,0x3992L},{0L,0x21A3L,2L,0x8BFCL},{1L,0x3992L,2L,(-5L)},{0L,0L,0x5C9EL,0L},{0xF90EL,0x21A3L,1L,0L}}};
    uint32_t l_1938 = 0xB7F68AE5L;
    volatile int32_t * volatile l_2029 = &g_5;/* VOLATILE GLOBAL l_2029 */
    uint16_t l_2040[7];
    int32_t l_2056 = 9L;
    struct S0 ***l_2146 = &g_590;
    int32_t l_2157[1];
    int32_t l_2159 = 1L;
    uint8_t **l_2224[10][6] = {{&g_405,&g_405,&g_405,&g_405,&g_405,&g_405},{&g_405,&g_405,&g_405,&g_405,&g_405,&g_405},{&g_405,&g_405,&g_405,&g_405,&g_405,&g_405},{&g_405,&g_405,&g_405,&g_405,&g_405,&g_405},{&g_405,&g_405,&g_405,&g_405,&g_405,&g_405},{&g_405,&g_405,&g_405,&g_405,&g_405,&g_405},{&g_405,&g_405,&g_405,&g_405,&g_405,&g_405},{&g_405,&g_405,&g_405,&g_405,&g_405,&g_405},{&g_405,&g_405,&g_405,&g_405,&g_405,&g_405},{&g_405,&g_405,&g_405,&g_405,&g_405,&g_405}};
    int8_t l_2233[6][8][2] = {{{1L,0xE6L},{0xE6L,1L},{0xE6L,0xE6L},{1L,0xE6L},{0xE6L,1L},{0xE6L,0xE6L},{1L,0xE6L},{0xE6L,1L}},{{0xE6L,0xE6L},{1L,0xE6L},{0xE6L,1L},{0xE6L,0xE6L},{1L,0xE6L},{0xE6L,1L},{1L,1L},{4L,1L}},{{1L,4L},{1L,1L},{4L,1L},{1L,4L},{1L,1L},{4L,1L},{1L,4L},{1L,1L}},{{4L,1L},{1L,4L},{1L,1L},{4L,1L},{1L,4L},{1L,1L},{4L,1L},{1L,4L}},{{1L,1L},{4L,1L},{1L,4L},{1L,1L},{4L,1L},{1L,4L},{1L,1L},{4L,1L}},{{1L,4L},{1L,1L},{4L,1L},{1L,4L},{1L,1L},{4L,1L},{1L,4L},{1L,1L}}};
    int32_t *l_2234 = &g_418;
    uint16_t *l_2235 = &g_411;
    uint32_t l_2259 = 0x15E7BF86L;
    const uint32_t l_2273[7][5][7] = {{{0xD5DD4BCFL,4294967295UL,4294967291UL,0x506D3CDBL,4294967291UL,4294967295UL,0xD5DD4BCFL},{4294967293UL,1UL,0x83E76F45L,0x2969226CL,6UL,1UL,0UL},{0UL,0x632D361DL,1UL,0x58584E7AL,0x55C7BC5EL,0xBAA9A42BL,4294967295UL},{0x22DDC954L,0x16A67585L,0x83E76F45L,4294967295UL,4294967290UL,1UL,0x2969226CL},{0x6D26C400L,0UL,4294967291UL,4294967293UL,0x2EE0BB12L,0x58584E7AL,1UL}},{{4294967289UL,0x00F080EEL,1UL,8UL,4UL,0x49304B17L,0x83E76F45L},{4294967295UL,0x57611D14L,1UL,1UL,1UL,1UL,0x57611D14L},{0x16A67585L,4294967292UL,4294967294UL,0x52A579F5L,1UL,0UL,4294967289UL},{0x57310B2CL,4294967291UL,0x2362CDFBL,0UL,1UL,4294967295UL,4294967293UL},{4294967292UL,1UL,8UL,0x52A579F5L,0UL,0x00F080EEL,0UL}},{{0UL,4294967293UL,0xD5DD4BCFL,1UL,0UL,0x8EAF3380L,0x6D26C400L},{4UL,4294967293UL,0x16A67585L,8UL,0UL,0x86E7593EL,0xC5884976L},{0x506D3CDBL,0x57310B2CL,4294967288UL,4294967293UL,0xEAB8B04AL,4294967293UL,4294967288UL},{6UL,6UL,6UL,4294967295UL,4294967292UL,0x52A579F5L,0x86E7593EL},{0xBDB4AE5BL,0UL,0xBAA9A42BL,0x58584E7AL,0x3BC54A23L,0x8B8DD4A4L,4294967295UL}},{{0x86E7593EL,8UL,0x74868530L,0x2969226CL,4294967292UL,4294967289UL,4294967294UL},{0x55C7BC5EL,0xD6186DCDL,0xBDB4AE5BL,0x506D3CDBL,0xEAB8B04AL,0UL,4294967291UL},{0UL,0xC5884976L,0x378CCE24L,6UL,4294967290UL,0x00F080EEL,0x992CFCD8L},{1UL,4294967294UL,0xBDB4AE5BL,0x2EE0BB12L,0UL,0UL,0x2EE0BB12L},{1UL,4294967295UL,1UL,4294967290UL,0x0987B42AL,4294967295UL,4294967295UL}},{{0x57310B2CL,1UL,0x8EAF3380L,0x55C7BC5EL,7UL,0x506D3CDBL,1UL},{0UL,0x16A67585L,0xC5884976L,6UL,4294967295UL,4294967295UL,0x52A579F5L},{0x632D361DL,0x57611D14L,0UL,4294967291UL,0xEAB8B04AL,0UL,1UL},{0x22DDC954L,0UL,4294967286UL,0x6CD2E817L,0x83E76F45L,0x00F080EEL,4294967294UL},{0x8B8DD4A4L,0x632D361DL,0x2EE0BB12L,0xD5DD4BCFL,0UL,0xCF650946L,0UL}},{{0x992CFCD8L,0x008A351EL,0x008A351EL,0x992CFCD8L,0x52A579F5L,0xC5884976L,4294967289UL},{0UL,0UL,1UL,0x57611D14L,0xD5DD4BCFL,0x262DE29DL,1UL},{0UL,0x86E7593EL,8UL,0x74868530L,0x2969226CL,4294967292UL,4294967289UL},{0xBAA9A42BL,4294967295UL,4294967288UL,0x2362CDFBL,0x57310B2CL,0UL,0UL},{8UL,1UL,4294967292UL,1UL,0xAF0C39CAL,0UL,4294967294UL}},{{7UL,0UL,0x2362CDFBL,0xCF650946L,4294967291UL,1UL,1UL},{4294967286UL,0xAF29690AL,4294967289UL,0xAF29690AL,4294967286UL,0x378CCE24L,0x52A579F5L},{0xCF650946L,0xD5DD4BCFL,0x3BC54A23L,0UL,0x28B6E933L,0x58584E7AL,1UL},{0x6CD2E817L,0x6652E8F8L,0x52A579F5L,0x2969226CL,1UL,4294967290UL,4294967295UL},{0xCF650946L,0UL,0x506D3CDBL,0x262DE29DL,0xC4249F0DL,7UL,0x2EE0BB12L}}};
    int32_t *l_2277[10] = {&g_1363,&l_2157[0],&l_2157[0],&g_1363,&l_2157[0],&l_2157[0],&g_1363,&l_2157[0],&l_2157[0],&g_1363};
    uint64_t l_2325[7][1] = {{0UL},{0x22A777BF532FF378LL},{0UL},{0x22A777BF532FF378LL},{0UL},{0x22A777BF532FF378LL},{0UL}};
    uint16_t l_2341 = 1UL;
    uint32_t l_2409[2][10] = {{0x623F1C4DL,1UL,0x623F1C4DL,1UL,0x623F1C4DL,1UL,0x623F1C4DL,1UL,0x623F1C4DL,1UL},{0x623F1C4DL,1UL,0x623F1C4DL,1UL,0x623F1C4DL,1UL,0x623F1C4DL,1UL,0x623F1C4DL,1UL}};
    int32_t l_2434 = 0xE5C9DE2BL;
    int8_t l_2435 = 0xF0L;
    uint64_t **l_2449 = (void*)0;
    int64_t l_2549[1];
    uint32_t *l_2560 = &g_180[0];
    int32_t ** const *l_2599 = &g_1076;
    int64_t l_2680[5] = {0x980044ACA4CA2719LL,0x980044ACA4CA2719LL,0x980044ACA4CA2719LL,0x980044ACA4CA2719LL,0x980044ACA4CA2719LL};
    uint32_t l_2699 = 18446744073709551615UL;
    struct S0 ****l_2719 = &l_2146;
    struct S0 *****l_2718 = &l_2719;
    int32_t l_2845 = 0x74560C9AL;
    struct S0 *** const l_2902[2][3][10] = {{{&g_590,&g_590,&g_590,&g_590,&g_590,&g_590,&g_590,&g_590,&g_590,&g_590},{&g_590,&g_590,&g_590,&g_590,&g_590,&g_590,&g_590,&g_590,&g_590,&g_590},{&g_590,&g_590,&g_590,&g_590,&g_590,&g_590,&g_590,&g_590,&g_590,&g_590}},{{&g_590,&g_590,&g_590,&g_590,&g_590,&g_590,&g_590,&g_590,&g_590,&g_590},{&g_590,&g_590,&g_590,&g_590,&g_590,&g_590,&g_590,&g_590,&g_590,&g_590},{&g_590,&g_590,&g_590,&g_590,&g_590,&g_590,&g_590,&g_590,&g_590,&g_590}}};
    const int32_t l_2919 = 6L;
    uint32_t *****l_2946 = &g_934;
    int32_t l_2949[7][5];
    uint64_t ***l_2961[6][10] = {{&g_1523,(void*)0,&l_2449,(void*)0,&g_1523,(void*)0,&l_2449,&l_2449,(void*)0,(void*)0},{&l_2449,&l_2449,&g_1523,&l_2449,&l_2449,&g_1523,&l_2449,&l_2449,&l_2449,(void*)0},{&g_1523,&l_2449,&l_2449,&g_1523,&g_1523,&l_2449,&g_1523,&g_1523,&l_2449,&l_2449},{&g_1523,(void*)0,&l_2449,&g_1523,(void*)0,&g_1523,&l_2449,&l_2449,&g_1523,(void*)0},{(void*)0,&g_1523,&g_1523,(void*)0,(void*)0,&g_1523,&g_1523,&l_2449,(void*)0,&l_2449},{&g_1523,&l_2449,&l_2449,&l_2449,&l_2449,&l_2449,&g_1523,&g_1523,(void*)0,(void*)0}};
    uint32_t l_3080 = 18446744073709551607UL;
    int i, j, k;
    for (i = 0; i < 7; i++)
        l_2040[i] = 0xE186L;
    for (i = 0; i < 1; i++)
        l_2157[i] = 0x2B32ADEAL;
    for (i = 0; i < 1; i++)
        l_2549[i] = 1L;
    for (i = 0; i < 7; i++)
    {
        for (j = 0; j < 5; j++)
            l_2949[i][j] = 0L;
    }
lbl_2414:
    for (g_6[0] = 0; (g_6[0] <= 3); g_6[0] += 1)
    { /* block id: 3 */
        int16_t *l_19 = (void*)0;
        int16_t *l_20 = &l_2[0][1][0];
        uint32_t *l_21 = &g_22;
        int32_t l_25 = 0xEF34EA88L;
        int32_t l_1896 = 0xC12A899EL;
        uint32_t l_1993 = 18446744073709551615UL;
        int64_t l_2001 = (-1L);
        int32_t l_2018 = 0x0A7855C1L;
        uint8_t *l_2038 = (void*)0;
        uint8_t *l_2039 = (void*)0;
        uint8_t *** const l_2090 = (void*)0;
        uint32_t **l_2098 = &l_21;
        uint32_t ***l_2097 = &l_2098;
        uint32_t l_2101 = 3UL;
        struct S0 **l_2131 = &g_591;
        uint32_t l_2171 = 0x233F5344L;
        int32_t l_2177 = (-5L);
        int32_t l_2178 = 0xC0A27375L;
        int32_t **l_2186 = &g_200;
        int32_t l_2195 = 0x153E98A3L;
        int8_t **l_2214 = &g_841;
        l_1896 |= (((safe_rshift_func_uint8_t_u_s(func_9((safe_mod_func_uint64_t_u_u((l_2[3][3][2] , func_13((safe_div_func_uint32_t_u_u(7UL, (safe_sub_func_int64_t_s_s((((*l_20) = g_4) , (((*l_21) = 0xA1434A93L) , (l_21 != (void*)0))), ((g_6[0] != (safe_sub_func_int32_t_s_s((g_6[0] > (g_6[0] , l_25)), l_25))) <= g_6[0]))))))), (-1L)))), l_25)) < 1L) & 0xD25198B0L);
        for (g_157 = 0; (g_157 <= 3); g_157 += 1)
        { /* block id: 850 */
            int32_t l_1921 = 0xB8FB92DEL;
            int64_t *l_1924 = &g_218[4][2];
            int32_t l_1937 = (-3L);
            int16_t l_1940 = 0x722AL;
            const int32_t l_1961[6][3][7] = {{{1L,0x03039797L,0xB1285245L,0x4A02FA06L,0xA9BBDAA1L,(-1L),1L},{0x92D5EC24L,0x53EFA8EEL,0x46CFE513L,0xDCC50B13L,0x331EC120L,6L,0xED725A3BL},{0L,0x331EC120L,2L,0x9F3770C6L,(-1L),0xDCC50B13L,(-1L)}},{{(-1L),(-1L),(-4L),5L,6L,0xC08A7187L,(-1L)},{(-1L),6L,2L,0x4EE8D730L,(-1L),0x5B0C0809L,0xED725A3BL},{(-1L),(-3L),0x042516FDL,0x042516FDL,(-3L),(-1L),1L}},{{0L,0x82009411L,0x331EC120L,0xED725A3BL,0x4EE8D730L,0x539C0277L,0x042516FDL},{0x042516FDL,0xF96211B0L,0x9F3770C6L,2L,0x4A02FA06L,(-3L),0x6B93106AL},{0x53EFA8EEL,0x82009411L,0x1F17677DL,0x1B9E2B6AL,0x03039797L,2L,(-3L)}},{{(-1L),(-3L),0xCD95D3B6L,(-1L),0x96A84B5EL,1L,1L},{0x46CFE513L,6L,0x32A3E6C9L,1L,0x53EFA8EEL,0x2766E8E4L,0x03039797L},{1L,(-1L),0x03039797L,1L,(-7L),0x53EFA8EEL,0xDCC50B13L}},{{0x5B0C0809L,0x331EC120L,1L,(-1L),5L,5L,(-1L)},{6L,0x53EFA8EEL,6L,0x1B9E2B6AL,0x042516FDL,1L,0x1B9E2B6AL},{0x53EFA8EEL,1L,0L,(-4L),0x1F17677DL,(-1L),1L}},{{1L,0xED725A3BL,(-3L),0x4A02FA06L,0x03039797L,0xDCC50B13L,0xE1A6DA83L},{0xA9BBDAA1L,0xDCC50B13L,0x82009411L,0xC08A7187L,0L,0x96A84B5EL,0xF96211B0L},{0x1F17677DL,5L,0x2766E8E4L,0x82009411L,(-1L),0x92D5EC24L,1L}}};
            int32_t l_2020 = 1L;
            int32_t l_2021 = (-2L);
            int8_t **l_2070 = &g_841;
            int64_t l_2123 = 0x936386259FD92677LL;
            const struct S0 * const l_2147[2][4][5] = {{{&g_2148,&g_2148,&g_2148,&g_2148,&g_2148},{&g_2149,&g_2149,&g_2149,&g_2149,&g_2149},{&g_2148,&g_2148,&g_2148,&g_2148,&g_2148},{&g_2149,&g_2149,&g_2149,&g_2149,&g_2149}},{{&g_2148,&g_2148,&g_2148,&g_2148,&g_2148},{&g_2149,&g_2149,&g_2149,&g_2149,&g_2149},{&g_2148,&g_2148,&g_2148,&g_2148,&g_2148},{&g_2149,&g_2149,&g_2149,&g_2149,&g_2149}}};
            int32_t l_2168 = (-1L);
            int32_t **l_2174 = (void*)0;
            const int32_t **l_2175 = &g_1738;
            int i, j, k;
        }
        for (l_2001 = 3; (l_2001 >= 0); l_2001 -= 1)
        { /* block id: 1016 */
            int32_t l_2213 = 0x3AEA9920L;
            const uint32_t l_2215 = 2UL;
            int64_t l_2225 = 0xB2893A46B0D57145LL;
            for (l_2101 = 0; (l_2101 <= 3); l_2101 += 1)
            { /* block id: 1019 */
                return l_2195;
            }
            (*g_149) ^= 0x13A2FB00L;
            for (g_22 = 0; (g_22 <= 3); g_22 += 1)
            { /* block id: 1025 */
                struct S0 * const l_2196 = (void*)0;
                for (l_2056 = 0; (l_2056 <= 3); l_2056 += 1)
                { /* block id: 1028 */
                    (*g_2197) = l_2196;
                }
            }
            (*g_149) = (safe_div_func_int64_t_s_s((safe_mod_func_int8_t_s_s((((l_2157[0] = (safe_div_func_uint64_t_u_u((0xA0E7237AL > ((safe_rshift_func_int8_t_s_s((safe_mul_func_int16_t_s_s(((g_31[0][1] >= (safe_mul_func_uint16_t_u_u((safe_div_func_int16_t_s_s((~(*l_2029)), 0xBB6DL)), (*g_190)))) & l_2[1][2][0]), ((((l_2157[0] , (0x9CE1L > (l_2040[2] | l_2213))) <= 0x0CL) , (void*)0) != l_2214))), l_1938)) | 0xB6D9L)), l_2215))) < l_2040[3]) != (**l_2186)), (*g_405))), (**g_1523)));
            for (l_25 = 0; (l_25 <= 3); l_25 += 1)
            { /* block id: 1036 */
                int32_t l_2216 = 0xB73400E6L;
                (**g_1101) = l_2216;
                l_2157[0] ^= (((((1L | ((0x93L == ((**l_2214) = (((safe_div_func_int64_t_s_s(((&g_31[0][0] != &g_31[0][0]) >= (((((safe_sub_func_uint64_t_u_u((--(**g_1523)), (((g_2223 , l_2224[5][2]) == (void*)0) & 0x5C0EB5E9L))) , l_2216) <= g_180[1]) , &l_2213) == &g_418)), 8UL)) & g_653.f0) == l_2216))) && (*g_71))) | l_2225) & (-7L)) , (*g_71)) , (-1L));
            }
        }
        for (g_391 = 3; (g_391 >= 0); g_391 -= 1)
        { /* block id: 1045 */
            return (**g_840);
        }
    }
    if ((3L >= ((safe_add_func_int8_t_s_s(((*g_841) = (0xEAE1F131CF29562ELL && ((*l_2029) ^ ((*l_2235) = ((0x9EL | (0x22B3L ^ (((*l_2234) = ((safe_lshift_func_uint32_t_u_u(((****g_1633) = ((&l_2056 == (((**g_1257) = (safe_unary_minus_func_int16_t_s(l_2040[3]))) , &l_2157[0])) == 0x09398BB9L)), 12)) >= l_2233[2][4][0])) , g_1558.f0))) != 0x6D2A8593L))))), l_2233[2][4][0])) | 0x477BCBCFL)))
    { /* block id: 1054 */
        uint16_t l_2236 = 0x3C29L;
        uint64_t ***l_2239 = (void*)0;
        uint64_t ***l_2240 = &g_1523;
        int32_t *l_2276 = &g_1363;
        uint32_t l_2297 = 0x9341F717L;
        struct S0 ***l_2309 = &g_590;
        int16_t **l_2339 = (void*)0;
        int32_t l_2372 = 0x49FA12F2L;
        int32_t l_2374 = 0x5E31A542L;
        int32_t l_2378 = 5L;
        int32_t l_2379 = 0L;
        int32_t l_2380 = 9L;
        int32_t l_2381[9];
        uint32_t *l_2431 = &g_180[1];
        uint32_t l_2436 = 18446744073709551615UL;
        struct S0 *l_2442 = &g_602;
        int i;
        for (i = 0; i < 9; i++)
            l_2381[i] = 0L;
        (*g_71) = l_2236;
        if (((safe_lshift_func_int8_t_s_s((((*l_2240) = &g_1524) != (void*)0), (**g_2052))) | l_2040[3]))
        { /* block id: 1057 */
            int32_t *l_2241[8][8][3] = {{{&g_495,(void*)0,(void*)0},{&l_2157[0],&l_2056,&g_6[0]},{&g_495,&g_6[0],&g_495},{&g_495,&l_2157[0],&g_6[0]},{&g_1363,&g_1363,(void*)0},{&l_2157[0],&l_2157[0],&l_2157[0]},{(void*)0,&g_6[0],(void*)0},{&l_2157[0],&l_2056,&l_2157[0]}},{{&g_1363,(void*)0,(void*)0},{&g_495,&g_495,&l_2157[0]},{&g_495,(void*)0,(void*)0},{&l_2157[0],&l_2056,&g_6[0]},{&g_495,&g_6[0],&g_495},{&g_495,&l_2157[0],&g_6[0]},{&g_1363,&g_1363,(void*)0},{&l_2157[0],&l_2157[0],&l_2157[0]}},{{(void*)0,&g_6[0],(void*)0},{&l_2157[0],&l_2056,&l_2157[0]},{&g_1363,(void*)0,(void*)0},{&g_495,&g_495,&l_2157[0]},{&g_495,(void*)0,(void*)0},{&l_2157[0],&l_2056,&g_6[0]},{&g_495,&g_6[0],&g_495},{&g_495,&l_2157[0],&g_6[0]}},{{&g_1363,&g_1363,(void*)0},{&l_2157[0],&l_2157[0],&l_2157[0]},{(void*)0,&g_6[0],(void*)0},{&l_2157[0],&l_2056,&l_2157[0]},{&g_1363,(void*)0,(void*)0},{&g_495,&g_495,&l_2157[0]},{&g_495,(void*)0,(void*)0},{&l_2157[0],&l_2056,&g_6[0]}},{{&g_495,&g_6[0],&g_495},{&g_495,&l_2157[0],&g_6[0]},{&g_1363,&g_1363,(void*)0},{&l_2157[0],&l_2157[0],&l_2157[0]},{(void*)0,&g_6[0],(void*)0},{&l_2157[0],&l_2056,&l_2157[0]},{&g_1363,(void*)0,(void*)0},{&g_495,&g_495,&l_2157[0]}},{{&g_495,(void*)0,&g_495},{&l_2157[0],&g_495,&l_2056},{(void*)0,&g_1363,(void*)0},{&l_2157[0],&l_2157[0],&l_2056},{(void*)0,(void*)0,&g_495},{&g_6[0],&l_2157[0],&l_2157[0]},{&g_495,&g_1363,&g_6[0]},{&g_6[0],&g_495,&g_6[0]}},{{(void*)0,&g_495,&g_6[0]},{&l_2157[0],&l_2157[0],&l_2157[0]},{(void*)0,&g_495,&g_495},{&l_2157[0],&g_495,&l_2056},{(void*)0,&g_1363,(void*)0},{&l_2157[0],&l_2157[0],&l_2056},{(void*)0,(void*)0,&g_495},{&g_6[0],&l_2157[0],&l_2157[0]}},{{&g_495,&g_1363,&g_6[0]},{&g_6[0],&g_495,&g_6[0]},{(void*)0,&g_495,&g_6[0]},{&l_2157[0],&l_2157[0],&l_2157[0]},{(void*)0,&g_495,&g_495},{&l_2157[0],&g_495,&l_2056},{(void*)0,&g_1363,(void*)0},{&l_2157[0],&l_2157[0],&l_2056}}};
            struct S0 ***l_2336[2][9] = {{&g_590,&g_590,&g_590,&g_590,&g_590,&g_590,&g_590,&g_590,&g_590},{&g_590,(void*)0,&g_590,&g_590,&g_590,(void*)0,&g_590,&g_590,(void*)0}};
            uint32_t l_2337 = 0xB6C3CE78L;
            uint32_t l_2393 = 1UL;
            const uint64_t ****l_2412 = (void*)0;
            int16_t *l_2427 = &g_1127[3];
            uint64_t *l_2432[3];
            int32_t l_2433[6] = {0xF9C6CBD1L,0xF9C6CBD1L,0xF9C6CBD1L,0xF9C6CBD1L,0xF9C6CBD1L,0xF9C6CBD1L};
            int i, j, k;
            for (i = 0; i < 3; i++)
                l_2432[i] = &l_2325[1][0];
            g_6[0] &= ((**g_1260) = 0x37DDDCF8L);
            for (g_411 = 11; (g_411 >= 20); g_411++)
            { /* block id: 1062 */
                uint32_t * const *l_2253 = (void*)0;
                uint32_t * const **l_2252 = &l_2253;
                int32_t l_2256 = 0x2AF91517L;
                int32_t l_2257 = 0x931DA92DL;
                uint32_t *l_2258 = &g_22;
                struct S0 ****l_2310 = &l_2309;
                int32_t **l_2318 = (void*)0;
                int32_t l_2386 = 0x762D64D9L;
                int32_t l_2387 = 0xD82A4F33L;
                int32_t l_2390 = 0x88FC2A81L;
                int32_t l_2391 = (-2L);
                (*g_200) |= (l_2259 = (safe_rshift_func_int32_t_s_u((((*l_2029) <= (safe_add_func_uint64_t_u_u(((((((*g_405) > 0UL) > (((safe_sub_func_int16_t_s_s(0xF82AL, ((*g_190) ^= (((**g_934) == ((*l_2252) = (***g_1632))) && (((safe_sub_func_int8_t_s_s(l_2256, l_1938)) & (0x22L == l_2056)) , (*g_841)))))) & l_2236) >= l_2257)) , l_2258) != &l_1938) , 18446744073709551608UL), l_2233[2][4][0]))) && 65527UL), l_2236)));
                for (l_2259 = (-22); (l_2259 <= 1); ++l_2259)
                { /* block id: 1069 */
                    uint32_t l_2266 = 0x658BC52AL;
                    uint32_t * const l_2292[4] = {&g_2293,&g_2293,&g_2293,&g_2293};
                    uint32_t * const *l_2291 = &l_2292[2];
                    uint32_t * const **l_2290 = &l_2291;
                    uint32_t l_2295 = 0UL;
                    const struct S0 * const l_2296 = &g_1774;
                    int i;
                    (*l_2029) = ((*g_200) = (safe_mod_func_int8_t_s_s(((l_2256 != ((!((safe_unary_minus_func_int16_t_s(((*g_190) = (*g_190)))) == g_2111.f1)) >= (((void*)0 == &g_411) && (((((l_2257 != (l_2266 , ((g_2267 && (safe_add_func_int8_t_s_s((!(safe_add_func_int8_t_s_s(((void*)0 == l_2258), 0x31L))), l_2273[3][4][1]))) > l_2256))) <= 1UL) & l_2256) <= 0L) != g_1139.f0)))) ^ g_359[0][5]), 0x78L)));
                    for (g_458 = (-17); (g_458 == 1); g_458 = safe_add_func_int32_t_s_s(g_458, 5))
                    { /* block id: 1075 */
                        uint8_t l_2278 = 0UL;
                        l_2277[9] = l_2276;
                        return l_2278;
                    }
                    (*l_2029) = ((safe_mul_func_uint64_t_u_u(0xFCECA448881EE144LL, (safe_sub_func_int16_t_s_s(((**g_840) <= ((safe_sub_func_int32_t_s_s(((safe_unary_minus_func_int16_t_s((func_61((*g_190), &g_639, ((safe_div_func_int16_t_s_s(0L, (safe_add_func_int16_t_s_s(2L, 0xC676L)))) != (((l_2257 |= ((l_2256 > (((*l_2290) = &g_473) != (void*)0)) | (**g_1177))) & l_2266) != l_2295)), l_2296) , 0xFAAEL))) != l_2295), l_2266)) & l_2297)), (*l_2276))))) , l_2295);
                }
                if (((safe_rshift_func_uint64_t_u_s((safe_lshift_func_uint8_t_u_u((~(((safe_mul_func_int64_t_s_s((safe_mul_func_uint64_t_u_u(((0x0EL == 0xFCL) , ((((safe_rshift_func_int8_t_s_s(((((*l_2310) = l_2309) != (void*)0) && (safe_mod_func_uint64_t_u_u((((safe_unary_minus_func_uint64_t_u(((safe_sub_func_int8_t_s_s((**g_2052), l_2256)) >= ((*l_2276) = ((g_653.f0 || 65535UL) < l_2257))))) > 0x64B2L) && 0L), l_2257))), 3)) , l_2318) == &l_2277[0]) <= g_2057.f0)), 0x055F703DD94FD9CALL)), 0x258F850B02F90D16LL)) | 0x27B9L) < (*****g_1632))), (**g_1257))), 15)) , 0x63720B48L))
                { /* block id: 1085 */
                    int8_t l_2321 = 2L;
                    int64_t *l_2338 = &g_218[4][2];
                    (*l_2276) &= (((safe_mul_func_uint8_t_u_u(0UL, (l_2321 & (!(safe_rshift_func_uint8_t_u_s((&l_1938 == (void*)0), 4)))))) & (((((0x7F0D57CFL || (((g_2340 = (((((*l_2338) = (l_2325[1][0] ^ ((safe_sub_func_int32_t_s_s((((safe_mod_func_int32_t_s_s((((safe_mod_func_int32_t_s_s((safe_mod_func_uint64_t_u_u((safe_lshift_func_int64_t_s_u((l_2321 >= (l_2336[0][4] != ((*l_2310) = l_2146))), 37)), g_2111.f1)), (-9L))) , l_2337) , (*g_352)), (*g_200))) , g_1735.f1) > (*g_190)), l_2321)) & 0x6CL))) >= g_975.f0) > 0x89C6738E60760AE9LL) , l_2339)) == (void*)0) , (*l_2029))) , 0x5B8E80F71CFF6A1CLL) == g_613.f0) < g_6[0]) , l_2341)) && g_645);
                    for (g_1771 = 13; (g_1771 != (-2)); g_1771 = safe_sub_func_uint32_t_u_u(g_1771, 3))
                    { /* block id: 1092 */
                        uint32_t l_2344[9][10][2] = {{{1UL,0UL},{0x47B671E6L,3UL},{1UL,0x47B671E6L},{0UL,0xC784CB1CL},{0UL,0x47B671E6L},{1UL,3UL},{0x47B671E6L,0UL},{1UL,9UL},{3UL,1UL},{1UL,1UL}},{{3UL,9UL},{1UL,0UL},{0x47B671E6L,3UL},{1UL,0x47B671E6L},{0UL,0xC784CB1CL},{0UL,0x47B671E6L},{1UL,3UL},{0x47B671E6L,0UL},{1UL,9UL},{3UL,1UL}},{{1UL,1UL},{3UL,9UL},{1UL,0UL},{0x47B671E6L,3UL},{1UL,0x47B671E6L},{0UL,0xC784CB1CL},{0UL,0x47B671E6L},{1UL,3UL},{0x47B671E6L,0UL},{1UL,9UL}},{{3UL,1UL},{1UL,1UL},{3UL,9UL},{1UL,0UL},{0x47B671E6L,3UL},{1UL,0x47B671E6L},{0UL,0xC784CB1CL},{0UL,0x47B671E6L},{1UL,3UL},{0x47B671E6L,0UL}},{{1UL,9UL},{3UL,1UL},{1UL,1UL},{3UL,9UL},{1UL,0UL},{0x47B671E6L,3UL},{1UL,0xC784CB1CL},{9UL,18446744073709551607UL},{9UL,0xC784CB1CL},{1UL,1UL}},{{0xC784CB1CL,1UL},{0UL,3UL},{1UL,0xBE176763L},{0xBE176763L,0xBE176763L},{1UL,3UL},{0UL,1UL},{0xC784CB1CL,1UL},{1UL,0xC784CB1CL},{9UL,18446744073709551607UL},{9UL,0xC784CB1CL}},{{1UL,1UL},{0xC784CB1CL,1UL},{0UL,3UL},{1UL,0xBE176763L},{0xBE176763L,0xBE176763L},{1UL,3UL},{0UL,1UL},{0xC784CB1CL,1UL},{1UL,0xC784CB1CL},{9UL,18446744073709551607UL}},{{9UL,0xC784CB1CL},{1UL,1UL},{0xC784CB1CL,1UL},{0UL,3UL},{1UL,0xBE176763L},{0xBE176763L,0xBE176763L},{1UL,3UL},{0UL,1UL},{0xC784CB1CL,1UL},{1UL,0xC784CB1CL}},{{9UL,18446744073709551607UL},{9UL,0xC784CB1CL},{1UL,1UL},{0xC784CB1CL,1UL},{0UL,3UL},{1UL,0xBE176763L},{0xBE176763L,0xBE176763L},{1UL,3UL},{0UL,1UL},{0xC784CB1CL,1UL}}};
                        int i, j, k;
                        l_2344[2][9][1] = ((*l_2276) = ((*g_1257) != (*g_1257)));
                    }
                }
                else
                { /* block id: 1096 */
                    int8_t l_2354 = (-6L);
                    int32_t l_2373 = 0x02951709L;
                    int32_t l_2375 = 0x5ED48D78L;
                    int32_t l_2377 = 0x62715BE3L;
                    int32_t l_2382 = 7L;
                    int32_t l_2383 = 4L;
                    int32_t l_2388 = 0xEC8541B0L;
                    int32_t l_2389 = (-10L);
                    int32_t l_2392 = 0xAB15CE35L;
                    l_2277[6] = l_2276;
                    if ((**g_1737))
                        break;
                    if ((safe_mul_func_int32_t_s_s((safe_rshift_func_int32_t_s_s(0x3BEB2835L, ((*g_200) &= 7L))), (!0x14L))))
                    { /* block id: 1100 */
                        return (*g_841);
                    }
                    else
                    { /* block id: 1102 */
                        int32_t l_2363 = (-7L);
                        int32_t l_2376[7][6][1] = {{{9L},{(-7L)},{9L},{1L},{9L},{(-7L)}},{{9L},{1L},{9L},{(-7L)},{9L},{1L}},{{9L},{(-7L)},{9L},{1L},{9L},{(-7L)}},{{9L},{1L},{9L},{(-7L)},{9L},{1L}},{{9L},{(-7L)},{9L},{1L},{9L},{(-7L)}},{{9L},{1L},{9L},{(-7L)},{9L},{1L}},{{9L},{(-7L)},{9L},{1L},{9L},{(-7L)}}};
                        int32_t l_2385 = 0x59B5BF14L;
                        int i, j, k;
                        (*g_200) = ((*l_2276) < (safe_mul_func_int32_t_s_s(((((****g_1633) = ((0x3D28C2CB212E1840LL ^ (l_2354 <= (((((safe_div_func_uint8_t_u_u((safe_rshift_func_uint64_t_u_u(l_2354, 0)), 255UL)) <= (l_2354 && ((safe_div_func_uint64_t_u_u((safe_add_func_uint8_t_u_u(((*g_405) = (g_157 && (l_2363 > 0x4630E100L))), 0x0BL)), 0xE5D00D6CC742DFC2LL)) & l_2354))) ^ l_2363) ^ 0xFCD5L) == g_45))) != l_2363)) , 0xDF10894B4ED250BDLL) >= (*g_1178)), (*g_361))));
                        (*g_149) = (*g_71);
                        (*l_2276) = (safe_add_func_int32_t_s_s((func_26(l_2354) , l_2354), (safe_lshift_func_uint32_t_u_s((((safe_sub_func_uint16_t_u_u(((safe_sub_func_int64_t_s_s(((l_2393--) , l_2389), ((safe_div_func_uint8_t_u_u(((safe_rshift_func_int32_t_s_s((l_2376[6][3][0] &= (safe_sub_func_uint16_t_u_u((safe_lshift_func_int32_t_s_u((((+(*l_2276)) & (((*l_2276) , &g_840) == &g_2052)) , (safe_lshift_func_int8_t_s_s(0xC5L, l_2385))), l_2363)), 0x77B9L))), l_2385)) > l_2382), (*l_2276))) != (*g_200)))) == (*l_2276)), l_2257)) , g_391) == 0x5264L), l_2385))));
                        (*l_2276) |= (*l_2029);
                    }
                }
                if ((((0x0DL >= (l_2386 < 0x7E6DFE46L)) | l_2409[0][3]) || ((((**g_1257) & (*g_841)) < (safe_mod_func_int64_t_s_s(((void*)0 != l_2412), (*l_2029)))) || g_393.f0)))
                { /* block id: 1113 */
                    for (l_2259 = 1; (l_2259 <= 6); l_2259 += 1)
                    { /* block id: 1116 */
                        int64_t l_2413 = 0xFF6DA74A57CD1E98LL;
                        return l_2413;
                    }
                }
                else
                { /* block id: 1119 */
                    if (g_975.f0)
                        goto lbl_2414;
                    (*l_2029) = (-2L);
                }
            }
            (*g_200) ^= ((safe_lshift_func_uint64_t_u_u((*g_1178), 38)) && ((safe_add_func_int8_t_s_s(0L, ((safe_div_func_uint64_t_u_u(((safe_mod_func_int64_t_s_s(g_1774.f0, (safe_sub_func_uint16_t_u_u(((*g_2053) | (safe_mul_func_int16_t_s_s(((*l_2427) ^= (*g_190)), (safe_mul_func_int16_t_s_s((safe_unary_minus_func_int16_t_s((((((g_2340 = &g_190) != (void*)0) < 0x8EF3BBBF0D83C986LL) == (((g_157 |= ((((l_2431 = &l_2409[0][3]) != l_2276) && (-3L)) > (**g_1177))) <= (*l_2276)) == 0xE7L)) && (*l_2276)))), (*g_190)))))), l_2433[1])))) >= g_653.f0), g_389[5][0][1])) ^ l_2434))) , (*g_1524)));
            --l_2436;
        }
        else
        { /* block id: 1130 */
            l_2276 = &l_2056;
            (**g_858) = (*g_859);
        }
        for (l_2435 = 0; (l_2435 < (-27)); --l_2435)
        { /* block id: 1136 */
            (*g_200) = (-8L);
            return (*g_841);
        }
        (*l_2442) = g_2441[0][1][3];
    }
    else
    { /* block id: 1141 */
        volatile struct S0 *l_2443 = &g_864;
        const int32_t **l_2444 = &g_1738;
        int32_t **l_2447 = &g_200;
        int32_t *l_2448[4];
        int i;
        for (i = 0; i < 4; i++)
            l_2448[i] = &g_6[0];
        (*l_2443) = (*g_1239);
        if (g_645)
            goto lbl_2414;
        (*g_2445) = ((*l_2444) = (void*)0);
        l_2448[0] = ((*l_2447) = (*g_2025));
    }
    if (((*l_2029) & ((void*)0 == l_2449)))
    { /* block id: 1149 */
        uint16_t l_2452[5];
        int32_t *l_2453[5] = {&l_2157[0],&l_2157[0],&l_2157[0],&l_2157[0],&l_2157[0]};
        uint32_t l_2491[2][1][5] = {{{0x9CB9F3A4L,0xC9C7E04DL,0x9CB9F3A4L,0xC9C7E04DL,0x9CB9F3A4L}},{{0UL,0UL,0UL,0UL,0UL}}};
        uint16_t l_2496 = 65533UL;
        int32_t l_2513 = 0x8E486AEBL;
        int32_t l_2566[5] = {0xDFE8548DL,0xDFE8548DL,0xDFE8548DL,0xDFE8548DL,0xDFE8548DL};
        int64_t l_2678 = 0xA243EC4722C89E7ALL;
        int64_t l_2679 = (-7L);
        int64_t l_2682 = (-2L);
        uint8_t l_2684 = 0x1BL;
        int i, j, k;
        for (i = 0; i < 5; i++)
            l_2452[i] = 0xB313L;
lbl_2559:
        for (g_645 = 0; (g_645 == 10); g_645 = safe_add_func_int16_t_s_s(g_645, 3))
        { /* block id: 1152 */
            (*g_200) = ((*g_473) , (*l_2029));
        }
        if ((((**g_840) &= (*l_2029)) >= l_2452[3]))
        { /* block id: 1156 */
            int32_t **l_2454 = &l_2277[5];
            uint8_t ****l_2464 = &g_2092;
            uint32_t *l_2492 = &g_2294[2][4][0];
            const int64_t l_2503 = (-1L);
            (*l_2454) = l_2453[1];
            for (g_22 = 0; (g_22 <= 2); g_22 += 1)
            { /* block id: 1160 */
                uint32_t l_2467 = 4294967288UL;
                uint64_t l_2472 = 0xE84510F776BC0690LL;
                const struct S0 * const l_2493 = (void*)0;
                int32_t *l_2497 = (void*)0;
            }
        }
        else
        { /* block id: 1216 */
            int16_t l_2554 = 0xAE7BL;
            const int16_t l_2555 = 1L;
            int32_t l_2556 = 0x716CFB31L;
            uint16_t l_2586 = 65535UL;
            int32_t ***l_2598 = &g_1076;
            (*g_200) = ((255UL & ((*g_841) > (safe_mul_func_int32_t_s_s((safe_mul_func_int16_t_s_s((safe_add_func_uint16_t_u_u((((l_2549[0] == ((*g_1636)--)) ^ (safe_div_func_int64_t_s_s((l_2554 , (((l_2554 == ((*g_1898) < (*g_405))) == l_2555) ^ ((0xF1199D32L >= l_2555) != (*g_190)))), g_2057.f0))) , g_2536.f0), g_603[4][0].f0)), (*g_190))), l_2554)))) , 0L);
            if ((l_2556 = (g_1850 > (*g_190))))
            { /* block id: 1220 */
                uint32_t l_2561 = 0x78D19747L;
                int32_t l_2585[6];
                uint16_t *l_2595 = &l_2452[3];
                int32_t l_2596 = 0xA04901E3L;
                uint8_t l_2609 = 0x98L;
                int16_t ** const * const l_2675[6][9][2] = {{{&g_2340,&g_2340},{&g_2340,&g_2340},{&g_2340,&g_2340},{&g_2340,&g_2340},{&g_2340,&g_2340},{&g_2340,(void*)0},{&g_2340,&g_2340},{&g_2340,&g_2340},{&g_2340,&g_2340}},{{&g_2340,(void*)0},{&g_2340,&g_2340},{&g_2340,&g_2340},{&g_2340,&g_2340},{&g_2340,&g_2340},{&g_2340,&g_2340},{&g_2340,&g_2340},{&g_2340,&g_2340},{&g_2340,&g_2340}},{{&g_2340,(void*)0},{&g_2340,&g_2340},{&g_2340,&g_2340},{&g_2340,&g_2340},{&g_2340,&g_2340},{&g_2340,&g_2340},{&g_2340,(void*)0},{&g_2340,&g_2340},{&g_2340,&g_2340}},{{&g_2340,&g_2340},{&g_2340,&g_2340},{&g_2340,(void*)0},{&g_2340,&g_2340},{&g_2340,&g_2340},{&g_2340,&g_2340},{&g_2340,&g_2340},{&g_2340,&g_2340},{&g_2340,&g_2340}},{{&g_2340,&g_2340},{&g_2340,(void*)0},{&g_2340,&g_2340},{&g_2340,&g_2340},{&g_2340,&g_2340},{&g_2340,&g_2340},{&g_2340,(void*)0},{&g_2340,&g_2340},{&g_2340,&g_2340}},{{&g_2340,&g_2340},{&g_2340,&g_2340},{&g_2340,&g_2340},{&g_2340,&g_2340},{&g_2340,&g_2340},{&g_2340,(void*)0},{&g_2340,&g_2340},{&g_2340,&g_2340},{&g_2340,&g_2340}}};
                int i, j, k;
                for (i = 0; i < 6; i++)
                    l_2585[i] = 0x886BE4B2L;
                for (g_906 = 26; (g_906 > 22); --g_906)
                { /* block id: 1223 */
                    int64_t *l_2562 = (void*)0;
                    int64_t *l_2563 = &l_2549[0];
                    int8_t *l_2576 = &l_2233[2][4][0];
                    int64_t *l_2577 = (void*)0;
                    int32_t l_2578 = (-1L);
                    if (g_157)
                        goto lbl_2559;
                    g_6[0] |= ((((*l_2234) = ((l_2560 != (void*)0) , (((((((*l_2563) = (l_2561 || l_2555)) | (g_218[0][3] = (safe_lshift_func_uint8_t_u_s(0UL, ((*l_2576) = (l_2566[2] == (l_2554 < (safe_rshift_func_int16_t_s_s(((~(*g_352)) | (((--(*g_405)) ^ ((safe_rshift_func_int8_t_s_u(((***g_2502) = (**g_840)), 4)) == (*g_200))) != 0xCBAAL)), l_2554))))))))) >= g_2267) ^ g_418) < l_2578) | 1UL))) , 0xFAE1B8E030C7048BLL) == 3UL);
                }
                if (((g_1735.f1 && (((**g_1523) = (safe_lshift_func_int16_t_s_u((safe_rshift_func_uint16_t_u_s(((safe_mod_func_uint8_t_u_u(0x33L, l_2585[4])) <= l_2586), 1)), (l_2596 = (safe_add_func_uint32_t_u_u((0xE6L | (safe_rshift_func_uint8_t_u_u((safe_lshift_func_uint16_t_u_u(65527UL, ((*l_2595) = ((*l_2235)++)))), 0))), ((&l_2435 != (***g_2501)) >= ((0L <= l_2555) != 0x3505L)))))))) ^ l_2585[2])) != g_639))
                { /* block id: 1237 */
                    uint64_t l_2612[4];
                    int32_t l_2613 = 0x5F0EDF42L;
                    int32_t l_2614 = (-1L);
                    int i;
                    for (i = 0; i < 4; i++)
                        l_2612[i] = 0xA52982478149C976LL;
                    if ((*l_2029))
                    { /* block id: 1238 */
                        int32_t ****l_2597[7][4] = {{(void*)0,&g_1075,&g_1075,(void*)0},{&g_1075,&g_1075,(void*)0,&g_1075},{&g_1075,&g_1075,(void*)0,(void*)0},{&g_1075,&g_1075,&g_1075,(void*)0},{(void*)0,&g_1075,(void*)0,&g_1075},{(void*)0,&g_1075,&g_1075,(void*)0},{&g_1075,&g_1075,(void*)0,&g_1075}};
                        int16_t **l_2605 = &g_190;
                        int16_t *l_2607[3][1][6];
                        int16_t **l_2606 = &l_2607[1][0][1];
                        int i, j, k;
                        for (i = 0; i < 3; i++)
                        {
                            for (j = 0; j < 1; j++)
                            {
                                for (k = 0; k < 6; k++)
                                    l_2607[i][j][k] = &g_391;
                            }
                        }
                        (*g_361) = ((*g_200) &= ((l_2598 = &g_1076) != l_2599));
                        l_2614 ^= (safe_sub_func_int16_t_s_s((!0x77FA2621F7AE5966LL), ((++(****g_1633)) <= ((&g_1127[4] != ((*l_2606) = ((*l_2605) = (void*)0))) || (!((l_2609 > (g_2384 ^ (2UL > (safe_sub_func_uint8_t_u_u(((*g_405) ^= (l_2612[1] || 7UL)), (((((*l_2595) = g_562.f0) < l_2613) & l_2596) , (*l_2029))))))) < g_191[8]))))));
                        (*l_2029) = (safe_mul_func_uint16_t_u_u((safe_sub_func_uint64_t_u_u((*g_1524), (!((**g_840) = (safe_lshift_func_uint32_t_u_u(((*****g_1632) = ((((*g_1178) != (safe_div_func_int16_t_s_s((l_2585[4] |= (safe_sub_func_int64_t_s_s(0xD4CD45573AC2B988LL, l_2596))), (safe_mul_func_uint16_t_u_u((safe_rshift_func_int64_t_s_u(8L, ((safe_rshift_func_uint16_t_u_u(g_41[1][1].f0, 14)) != (0x408E3904L > (*****g_1632))))), (safe_sub_func_uint8_t_u_u((((-2L) >= 0x79L) && l_2613), l_2614))))))) | 0x10381031E146C4C1LL) & 0x4804F9BF6F6D5B12LL)), l_2596)))))), g_2636));
                    }
                    else
                    { /* block id: 1252 */
                        return (*****g_2500);
                    }
                }
                else
                { /* block id: 1255 */
                    struct S0 *l_2638 = &g_41[0][0];
                    int32_t l_2643[5];
                    int i;
                    for (i = 0; i < 5; i++)
                        l_2643[i] = 3L;
                    (*l_2638) = g_2637;
                    (*g_200) |= (*g_2540);
                    (*g_2640) = g_2639;
                    for (l_2513 = 0; (l_2513 <= 6); l_2513++)
                    { /* block id: 1261 */
                        int64_t *l_2653 = (void*)0;
                        int64_t l_2676 = 0x7603D44B8B315883LL;
                        if (l_2643[3])
                            break;
                        (*g_200) ^= (safe_mul_func_int64_t_s_s((safe_div_func_uint16_t_u_u((safe_mul_func_uint32_t_u_u(((safe_unary_minus_func_uint16_t_u(((safe_lshift_func_int64_t_s_s((g_2132 = l_2643[0]), 18)) >= ((((safe_sub_func_int8_t_s_s((*l_2029), (safe_rshift_func_int16_t_s_s(l_2585[5], 0)))) >= (**g_1257)) , (-3L)) , (safe_mod_func_int32_t_s_s((safe_sub_func_int64_t_s_s(g_2294[4][3][4], ((((safe_div_func_int8_t_s_s(((safe_lshift_func_uint8_t_u_s((~(safe_sub_func_int8_t_s_s(((safe_lshift_func_uint32_t_u_u((((((*l_2235) = 0x43CAL) != (safe_sub_func_uint8_t_u_u(((safe_rshift_func_int16_t_s_s(0x9D04L, (((*g_190) = ((void*)0 != l_2675[4][7][1])) != 4L))) >= (*g_841)), (-6L)))) , &g_2092) == &g_2092), (****g_1633))) != l_2585[4]), 4UL))), (*l_2029))) < 0x85L), l_2676)) , 8L) , (*g_361)) | l_2609))), 0xA4827437L)))))) , (**g_1635)), l_2609)), g_653.f0)), (**g_1523)));
                        (*g_2677) = (*g_2025);
                    }
                }
            }
            else
            { /* block id: 1270 */
                (*g_590) = (**g_592);
            }
        }
        l_2684--;
    }
    else
    { /* block id: 1275 */
        for (g_418 = (-10); (g_418 < 7); ++g_418)
        { /* block id: 1278 */
            uint8_t l_2689[1][9] = {{249UL,249UL,0x90L,249UL,249UL,0x90L,249UL,249UL,0x90L}};
            int8_t l_2692 = 0x6AL;
            int i, j;
            l_2689[0][3]--;
            return l_2692;
        }
        return (**g_1767);
    }
    for (g_1363 = 0; (g_1363 <= (-19)); --g_1363)
    { /* block id: 1286 */
        int32_t l_2698 = 0x22B9E36AL;
        struct S0 * const *l_2723 = &g_591;
        struct S0 * const **l_2722 = &l_2723;
        struct S0 * const ***l_2721[6] = {&l_2722,&l_2722,&l_2722,&l_2722,&l_2722,&l_2722};
        struct S0 * const ****l_2720[3][5] = {{&l_2721[3],&l_2721[4],(void*)0,(void*)0,&l_2721[4]},{&l_2721[3],&l_2721[4],(void*)0,(void*)0,&l_2721[4]},{&l_2721[3],&l_2721[4],(void*)0,(void*)0,&l_2721[4]}};
        int32_t l_2729 = (-10L);
        int32_t l_2735 = (-1L);
        uint16_t l_2774 = 0UL;
        int32_t *l_2776 = &g_6[0];
        uint64_t * const l_2798 = &g_157;
        int16_t *l_2832 = &g_2732;
        struct S0 *l_2897 = &g_2831;
        uint32_t l_2925 = 0x4D0AD04CL;
        uint8_t **l_2957 = &g_405;
        uint64_t **l_2971[7][2] = {{(void*)0,(void*)0},{&g_1524,(void*)0},{(void*)0,&g_1524},{(void*)0,(void*)0},{&g_1524,(void*)0},{(void*)0,&g_1524},{(void*)0,(void*)0}};
        uint64_t **l_2972 = (void*)0;
        const int8_t *** const l_3031[5] = {&g_1767,&g_1767,&g_1767,&g_1767,&g_1767};
        uint8_t ****l_3039 = &g_2092;
        int32_t l_3079[3][2][1] = {{{9L},{0L}},{{9L},{9L}},{{0L},{9L}}};
        int i, j, k;
    }
    return (*****g_2500);
}


/* ------------------------------------------ */
/* 
 * reads : g_676.f1 g_602.f1 g_1738 g_495 g_563 g_393 g_149 g_3 g_1771 g_361 g_458 g_391
 * writes: g_1784 g_411 g_562 g_1771 g_458 g_391
 */
static uint8_t  func_9(uint8_t  p_10)
{ /* block id: 788 */
    const struct S0 *l_1782 = &g_1501;
    const struct S0 **l_1781 = &l_1782;
    const struct S0 ***l_1783[2];
    struct S0 **l_1786 = (void*)0;
    int32_t l_1787 = 1L;
    int64_t l_1788[8][1];
    uint16_t *l_1800 = &g_411;
    uint16_t l_1804 = 0x6E2FL;
    volatile struct S0 *l_1805 = &g_562;
    int8_t ***l_1826 = &g_840;
    uint32_t l_1839[2][5] = {{0x88B1B564L,0x48086298L,0x48086298L,0x88B1B564L,0x48086298L},{0x88B1B564L,0x88B1B564L,4294967294UL,0x88B1B564L,0x88B1B564L}};
    int32_t l_1890[6] = {0xD2EEBFC0L,0xD2EEBFC0L,0xD2EEBFC0L,0xD2EEBFC0L,0xD2EEBFC0L,0xD2EEBFC0L};
    uint32_t l_1891 = 18446744073709551615UL;
    int i, j;
    for (i = 0; i < 2; i++)
        l_1783[i] = &l_1781;
    for (i = 0; i < 8; i++)
    {
        for (j = 0; j < 1; j++)
            l_1788[i][j] = (-1L);
    }
    l_1788[2][0] = ((!(0x951A583258099BBELL <= 0xC345D5E3553A2818LL)) | (safe_add_func_int16_t_s_s((((p_10 && (((void*)0 == &g_1257) , (p_10 && ((((safe_div_func_int64_t_s_s(((g_1784 = l_1781) != l_1786), p_10)) || g_676[0][0][4].f1) , l_1787) , p_10)))) > 0x8499092A5622CAA1LL) || p_10), l_1787)));
    (*l_1805) = ((((-10L) || ((l_1788[3][0] , 0xAD883BFFL) && (l_1788[2][0] , (!(safe_mod_func_uint8_t_u_u((safe_mul_func_int64_t_s_s((safe_lshift_func_int64_t_s_u((safe_rshift_func_uint16_t_u_s(((*l_1800) = g_602.f1), (((safe_div_func_int64_t_s_s((l_1787 || ((*g_1738) >= (+((l_1787 = p_10) < 18446744073709551615UL)))), l_1788[1][0])) != (*g_1738)) || 65534UL))), l_1788[2][0])), l_1804)), l_1788[7][0])))))) , (-9L)) , (*g_563));
    if ((*g_149))
    { /* block id: 794 */
        const int8_t l_1806 = 0xAAL;
        int32_t l_1807 = 0xCD8125DFL;
        int8_t ***l_1827[5] = {&g_840,&g_840,&g_840,&g_840,&g_840};
        int32_t *l_1853 = &l_1787;
        int32_t l_1876 = 0L;
        uint32_t ***l_1882 = (void*)0;
        int i;
        l_1807 = l_1806;
        for (g_1771 = 0; (g_1771 < 25); g_1771 = safe_add_func_int64_t_s_s(g_1771, 7))
        { /* block id: 798 */
            int32_t l_1838 = 9L;
            int32_t l_1849 = 0L;
            int32_t *l_1887 = &g_1363;
            int32_t *l_1888 = &l_1849;
            int32_t *l_1889[1];
            int i;
            for (i = 0; i < 1; i++)
                l_1889[i] = (void*)0;
            for (p_10 = 0; (p_10 <= 2); p_10 += 1)
            { /* block id: 801 */
                int64_t *l_1836 = (void*)0;
                int64_t *l_1837[5][3][5] = {{{&g_359[1][6],&g_359[2][2],&l_1788[5][0],&g_218[4][2],&g_359[2][2]},{&g_218[1][0],(void*)0,&l_1788[2][0],&g_218[4][2],&g_218[4][2]},{&g_218[4][2],&g_218[4][2],(void*)0,(void*)0,(void*)0}},{{&g_218[4][2],&l_1788[6][0],&l_1788[5][0],&g_218[1][0],(void*)0},{&g_359[1][6],(void*)0,&g_218[1][0],&g_359[2][2],&g_359[2][2]},{&g_218[4][2],(void*)0,&g_218[4][2],&g_359[2][6],(void*)0}},{{&l_1788[7][0],&l_1788[2][0],&g_359[1][6],&l_1788[5][0],&g_218[4][2]},{&l_1788[6][0],(void*)0,&g_359[1][6],&l_1788[6][0],&g_359[2][2]},{(void*)0,&l_1788[6][0],&g_359[1][6],&g_218[4][2],(void*)0}},{{&g_218[5][3],&g_359[1][6],&g_218[4][2],&g_359[1][6],(void*)0},{&l_1788[6][0],&l_1788[5][0],&g_218[1][0],(void*)0,(void*)0},{(void*)0,&l_1788[5][0],&g_218[4][3],&g_218[4][3],&l_1788[5][0]}},{{&g_359[2][2],&g_359[1][6],(void*)0,&l_1788[5][0],&g_359[2][6]},{&g_359[1][6],&l_1788[6][0],&g_359[1][6],&g_218[4][2],&g_218[5][3]},{&g_359[2][6],(void*)0,&g_218[4][3],&g_218[4][2],(void*)0}}};
                uint64_t l_1840 = 0x8C79EE3F781EA213LL;
                int i, j, k;
            }
            if ((*g_361))
                continue;
            for (g_458 = 0; (g_458 != 32); g_458 = safe_add_func_uint16_t_u_u(g_458, 8))
            { /* block id: 829 */
                int64_t l_1866 = 0L;
                int32_t *l_1867 = &l_1807;
                int32_t *l_1868 = &g_45;
                int32_t *l_1869 = (void*)0;
                int32_t *l_1870 = &g_1363;
                int32_t *l_1871 = &l_1787;
                int32_t *l_1872 = &l_1787;
                int32_t l_1873[7][10][3] = {{{0x42F690E0L,8L,1L},{1L,0x99FDE71FL,0x322364E0L},{0xC6DBEC7FL,8L,(-1L)},{0x8D7F8E7DL,0x699AB7D1L,0x699AB7D1L},{6L,8L,0x2DA5CE03L},{7L,0x99FDE71FL,0x475BDE2FL},{0xCF4B6E2AL,8L,(-4L)},{1L,0x699AB7D1L,0x322364E0L},{1L,8L,1L},{0x8D7F8E7DL,0x99FDE71FL,0x699AB7D1L}},{{1L,8L,0L},{7L,0x699AB7D1L,0x475BDE2FL},{0x42F690E0L,8L,1L},{1L,0x99FDE71FL,0x322364E0L},{0xC6DBEC7FL,8L,(-1L)},{0x8D7F8E7DL,0x699AB7D1L,0x699AB7D1L},{6L,8L,0x2DA5CE03L},{7L,0x99FDE71FL,0x475BDE2FL},{0xCF4B6E2AL,8L,(-4L)},{1L,0x699AB7D1L,0x322364E0L}},{{1L,8L,1L},{0x8D7F8E7DL,0x99FDE71FL,0x699AB7D1L},{1L,8L,0L},{7L,0x699AB7D1L,0x475BDE2FL},{0x42F690E0L,8L,1L},{1L,0x99FDE71FL,0x322364E0L},{0xC6DBEC7FL,8L,(-1L)},{0x8D7F8E7DL,0x699AB7D1L,0x699AB7D1L},{6L,8L,0x2DA5CE03L},{7L,0x99FDE71FL,0x475BDE2FL}},{{0xCF4B6E2AL,8L,(-4L)},{1L,0x699AB7D1L,0x322364E0L},{1L,8L,1L},{0x8D7F8E7DL,0x99FDE71FL,0x699AB7D1L},{1L,8L,0L},{7L,0x699AB7D1L,0x475BDE2FL},{0x42F690E0L,8L,1L},{1L,0x99FDE71FL,0x322364E0L},{0xC6DBEC7FL,8L,(-1L)},{0x8D7F8E7DL,0x699AB7D1L,0x699AB7D1L}},{{6L,8L,0x2DA5CE03L},{7L,0x99FDE71FL,0x475BDE2FL},{0xCF4B6E2AL,8L,(-4L)},{1L,0x699AB7D1L,0x322364E0L},{1L,8L,1L},{0x8D7F8E7DL,(-1L),(-1L)},{(-1L),(-1L),1L},{(-1L),(-1L),0x564821F4L},{1L,(-1L),(-7L)},{0x55DC5016L,(-1L),0L}},{{0L,(-1L),0xE31A62B8L},{0x99FDE71FL,(-1L),(-1L)},{1L,(-1L),(-1L)},{(-1L),(-1L),0x564821F4L},{(-4L),(-1L),1L},{0x55DC5016L,(-1L),0L},{0x2DA5CE03L,(-1L),0x94A3B649L},{0x99FDE71FL,(-1L),(-1L)},{(-1L),(-1L),1L},{(-1L),(-1L),0x564821F4L}},{{1L,(-1L),(-7L)},{0x55DC5016L,(-1L),0L},{0L,(-1L),0xE31A62B8L},{0x99FDE71FL,(-1L),(-1L)},{1L,(-1L),(-1L)},{(-1L),(-1L),0x564821F4L},{(-4L),(-1L),1L},{0x55DC5016L,(-1L),0L},{0x2DA5CE03L,(-1L),0x94A3B649L},{0x99FDE71FL,(-1L),(-1L)}}};
                int32_t *l_1874 = &g_495;
                int32_t *l_1875 = (void*)0;
                int32_t *l_1877 = &l_1873[4][2][1];
                int32_t *l_1878[6][8][4] = {{{&g_45,&l_1807,(void*)0,&g_45},{(void*)0,&g_45,&l_1876,&l_1876},{&g_45,&g_45,&l_1873[5][6][1],&g_6[0]},{&g_45,&l_1807,&l_1876,&g_45},{(void*)0,&g_6[0],(void*)0,&l_1876},{&g_45,&g_6[0],&l_1873[5][6][1],&g_45},{&g_6[0],&l_1807,&l_1807,&g_6[0]},{(void*)0,&g_45,&l_1807,&l_1876}},{{&g_6[0],&g_45,&l_1873[5][6][1],&g_45},{&g_45,&l_1807,(void*)0,&g_45},{(void*)0,&g_45,&l_1876,&l_1876},{&g_45,&g_45,&l_1873[5][6][1],&g_6[0]},{&g_45,&l_1807,&l_1876,&g_45},{(void*)0,&g_6[0],(void*)0,&l_1876},{&g_45,&g_6[0],&l_1873[5][6][1],&g_45},{&g_6[0],&l_1807,&l_1807,&g_6[0]}},{{(void*)0,&g_45,&l_1807,&l_1876},{&g_6[0],&g_45,&l_1873[5][6][1],&g_45},{&g_45,&l_1807,(void*)0,&g_45},{(void*)0,&g_45,&l_1876,&l_1876},{&g_45,&g_45,&l_1873[5][6][1],&g_6[0]},{&g_45,&l_1807,&l_1876,&g_45},{(void*)0,&g_6[0],(void*)0,&l_1876},{&g_45,&g_6[0],&l_1873[5][6][1],&g_45}},{{&g_6[0],&l_1807,&l_1807,&g_6[0]},{(void*)0,&g_45,&l_1807,&l_1876},{&g_6[0],&g_45,&l_1873[5][6][1],&g_45},{&g_45,&l_1807,(void*)0,&g_45},{(void*)0,&g_45,&l_1876,&l_1876},{(void*)0,(void*)0,&g_45,&l_1807},{(void*)0,&l_1873[5][6][1],(void*)0,(void*)0},{&l_1807,&l_1807,&l_1807,(void*)0}},{{&l_1876,&l_1807,&g_45,(void*)0},{&l_1807,&l_1873[5][6][1],&l_1873[5][6][1],&l_1807},{&l_1807,(void*)0,&l_1873[5][6][1],(void*)0},{&l_1807,&l_1876,&g_45,&l_1876},{&l_1876,&l_1873[5][6][1],&l_1807,&l_1876},{&l_1807,&l_1876,(void*)0,(void*)0},{(void*)0,(void*)0,&g_45,&l_1807},{(void*)0,&l_1873[5][6][1],(void*)0,(void*)0}},{{&l_1807,&l_1807,&l_1807,(void*)0},{&l_1876,&l_1807,&g_45,(void*)0},{&l_1807,&l_1873[5][6][1],&l_1873[5][6][1],&l_1807},{&l_1807,(void*)0,&l_1873[5][6][1],(void*)0},{&l_1807,&l_1876,&g_45,&l_1876},{&l_1876,&l_1873[5][6][1],&l_1807,&l_1876},{&l_1807,&l_1876,(void*)0,(void*)0},{(void*)0,(void*)0,&g_45,&l_1807}}};
                uint32_t l_1879 = 0x122A3834L;
                uint32_t ****l_1883 = &l_1882;
                uint32_t **l_1886 = &g_473;
                uint32_t ***l_1885 = &l_1886;
                uint32_t ****l_1884 = &l_1885;
                int i, j, k;
                l_1879--;
                (*l_1884) = ((*l_1883) = l_1882);
                (*l_1853) = ((*l_1877) = (*l_1853));
            }
            --l_1891;
        }
        return p_10;
    }
    else
    { /* block id: 839 */
        for (g_391 = (-9); (g_391 >= (-5)); g_391 = safe_add_func_int8_t_s_s(g_391, 8))
        { /* block id: 842 */
            return p_10;
        }
    }
    return l_1890[1];
}


/* ------------------------------------------ */
/* 
 * reads : g_5 g_22 g_6 g_4 g_41 g_1714 g_495 g_405 g_1524 g_458 g_603 g_840 g_841 g_358 g_45 g_590 g_591 g_1735 g_906 g_1737 g_359 g_149 g_31 g_1749 g_1583.f1 g_406 g_1523 g_1767 g_1771 g_1127 g_1738 g_1239 g_864 g_1774
 * writes: g_31 g_43 g_613 g_495 g_406 g_458 g_358 g_906 g_1738 g_3 g_1749 g_218 g_1767 g_1775
 */
static uint64_t  func_13(int64_t  p_14)
{ /* block id: 6 */
    int16_t *l_30 = &g_31[0][0];
    int32_t l_36 = (-1L);
    int64_t l_40 = 0x816E149F7FAE0CD5LL;
    g_1775 = func_26((((l_30 == l_30) || (safe_rshift_func_int64_t_s_s((l_30 == l_30), ((((safe_div_func_int16_t_s_s((((0x5B06A83CD0CD8A6CLL ^ g_5) ^ l_36) , ((*l_30) = l_36)), (+((safe_sub_func_int64_t_s_s(((l_40 , g_22) && p_14), g_6[0])) >= 0x72F236BBBD28A218LL)))) , p_14) && g_4) , 0xE18E6F96354D1843LL)))) == 0L));
    return p_14;
}


/* ------------------------------------------ */
/* 
 * reads : g_41 g_1714 g_495 g_405 g_1524 g_458 g_603 g_840 g_841 g_358 g_45 g_590 g_591 g_1735 g_906 g_1737 g_359 g_149 g_31 g_1749 g_1583.f1 g_406 g_1523 g_1767 g_1771 g_1127 g_1738 g_1239 g_864 g_1774
 * writes: g_43 g_613 g_495 g_406 g_458 g_358 g_906 g_1738 g_3 g_1749 g_218 g_1767
 */
static struct S0  func_26(int16_t  p_27)
{ /* block id: 8 */
    int32_t *l_44 = &g_45;
    int32_t *l_46 = &g_45;
    int32_t l_47 = 0x5B292197L;
    int32_t l_48 = 0x453D1DD1L;
    int32_t *l_49 = &g_45;
    int32_t *l_50 = (void*)0;
    int32_t *l_51 = &l_47;
    int32_t *l_52 = (void*)0;
    int32_t l_53[10][1][7] = {{{0x59A1248FL,1L,0x584F79AAL,0x553B787DL,(-5L),0x584F79AAL,1L}},{{0x63317A7FL,(-5L),0L,0L,(-5L),0x63317A7FL,0x9E61979BL}},{{0x59A1248FL,0x553B787DL,0xDC99B0BFL,0x59A1248FL,1L,0xEAE3254CL,0x553B787DL}},{{(-9L),0L,0x63317A7FL,0xF6635492L,0x63317A7FL,0L,(-9L)}},{{0x4B48EDA2L,0x553B787DL,1L,(-5L),0x9E206048L,0x4B48EDA2L,(-5L)}},{{0x1EDF2CFEL,(-5L),9L,0x7315BB97L,0x7315BB97L,9L,(-5L)}},{{0x553B787DL,1L,1L,(-6L),1L,(-5L),1L}},{{0x997376B2L,0x7315BB97L,0x63317A7FL,0x997376B2L,(-5L),0x997376B2L,0x63317A7FL}},{{0x9E206048L,0x9E206048L,0xDC99B0BFL,(-6L),0x553B787DL,3L,0x9E206048L}},{{(-9L),0x63317A7FL,0L,0x7315BB97L,0L,0L,0x7315BB97L}}};
    int32_t *l_54 = &l_47;
    int32_t *l_55 = &l_47;
    int32_t *l_56 = &l_53[0][0][4];
    int32_t *l_57[8] = {&l_53[1][0][6],&l_47,&l_53[1][0][6],&l_53[1][0][6],&l_47,&l_53[1][0][6],&l_53[1][0][6],&l_47};
    uint32_t l_58 = 0xA1E5F560L;
    const struct S0 * const l_66[7][7] = {{&g_41[1][1],(void*)0,(void*)0,&g_41[1][1],&g_43[0][3][0],&g_43[0][3][0],&g_41[1][1]},{(void*)0,&g_41[1][1],(void*)0,&g_43[0][3][0],&g_41[1][1],(void*)0,(void*)0},{&g_41[1][1],&g_41[1][1],&g_41[3][0],&g_41[1][1],&g_41[1][1],&g_41[3][0],&g_41[1][1]},{&g_41[1][1],(void*)0,&g_43[0][3][0],&g_41[1][1],&g_43[0][3][0],(void*)0,&g_41[1][1]},{(void*)0,&g_41[1][1],(void*)0,&g_43[0][3][0],&g_41[1][1],&g_43[0][3][0],(void*)0},{&g_41[1][1],&g_41[1][1],&g_41[1][1],(void*)0,&g_43[0][3][0],&g_41[1][1],&g_43[0][3][0]},{(void*)0,&g_41[3][0],&g_41[3][0],(void*)0,&g_43[0][1][0],&g_41[1][1],(void*)0}};
    struct S0 *l_1715 = &g_613;
    int8_t *l_1772 = (void*)0;
    int i, j, k;
    g_43[0][2][0] = g_41[1][1];
    ++l_58;
    (*l_1715) = func_61(p_27, l_49, p_27, l_66[2][4]);
    for (p_27 = 0; (p_27 > 3); ++p_27)
    { /* block id: 753 */
        int16_t l_1723 = 0x0F62L;
        uint8_t l_1732 = 253UL;
        int32_t *l_1733 = (void*)0;
        int8_t **l_1770 = &g_841;
        for (g_495 = 4; (g_495 >= 0); g_495 -= 1)
        { /* block id: 756 */
            uint32_t l_1722 = 0xB61CDD77L;
            int32_t l_1773 = 0L;
            int i, j;
            if (((p_27 | (func_61((3L != ((safe_mul_func_int32_t_s_s((safe_rshift_func_int32_t_s_u((l_1722 , (-9L)), (0x16L >= (((*g_405) = p_27) , ((**g_840) |= (p_27 != (l_1723 != (safe_mul_func_uint16_t_u_u(((safe_mod_func_int16_t_s_s((((*g_1524)--) | (safe_mod_func_uint64_t_u_u(((g_603[g_495][g_495] , (void*)0) == l_52), (*l_51)))), 1UL)) <= p_27), l_1722))))))))), p_27)) , (*l_46))), &g_22, l_1732, (*g_590)) , l_1732)) <= 6UL))
            { /* block id: 760 */
                int32_t **l_1734 = &l_51;
                (*l_1734) = l_1733;
                return g_1735;
            }
            else
            { /* block id: 763 */
                const int32_t *l_1736 = &g_495;
                for (g_906 = 0; (g_906 <= 0); g_906 += 1)
                { /* block id: 766 */
                    const uint32_t ***l_1751 = &g_1749[8][6];
                    int64_t *l_1760 = &g_218[2][3];
                    const int8_t ***l_1769[7] = {(void*)0,&g_1767,(void*)0,(void*)0,&g_1767,(void*)0,(void*)0};
                    int i, j;
                    for (l_58 = 0; (l_58 <= 0); l_58 += 1)
                    { /* block id: 769 */
                        int i, j;
                        (*g_1737) = l_1736;
                        if (g_359[(g_906 + 2)][(g_495 + 1)])
                            break;
                        (*g_149) = g_359[(l_58 + 2)][(l_58 + 2)];
                    }
                    l_1773 |= (safe_sub_func_uint64_t_u_u((g_31[g_906][g_906] & (((((safe_rshift_func_uint32_t_u_s(g_31[g_906][g_906], 6)) , (safe_div_func_int32_t_s_s((safe_add_func_uint8_t_u_u(((safe_div_func_int16_t_s_s(((((*l_1751) = g_1749[6][3]) == &g_473) > (((safe_sub_func_int8_t_s_s((safe_add_func_uint32_t_u_u(((safe_mod_func_int32_t_s_s(((((((*l_1736) || g_1583.f1) ^ ((*l_51) ^= (+(((*l_1760) = (!((*g_405) &= 1UL))) ^ (safe_add_func_int16_t_s_s((safe_mod_func_int16_t_s_s(((safe_add_func_uint8_t_u_u((((**g_1523) < (((g_1767 = g_1767) == l_1770) && p_27)) , p_27), g_603[g_495][g_495].f0)) <= p_27), 3L)), g_1771)))))) >= g_1127[0]) , l_1772) != (*g_840)), (-1L))) | 0x1A6CL), (*l_49))), (-10L))) , p_27) ^ g_1714.f0)), (*l_49))) , (*l_54)), p_27)), p_27))) | 0UL) > p_27) == (*g_1738))), p_27));
                }
                return (*g_1239);
            }
        }
    }
    return g_1774;
}


/* ------------------------------------------ */
/* 
 * reads : g_1714
 * writes:
 */
static struct S0  func_61(const int16_t  p_62, uint32_t * p_63, int16_t  p_64, const struct S0 * const  p_65)
{ /* block id: 11 */
    int32_t l_69 = 0x6E4EE9DAL;
    int32_t l_1111 = (-7L);
    int16_t * const l_1126 = &g_1127[3];
    int16_t * const * const l_1125 = &l_1126;
    int16_t * const * const *l_1124[5];
    uint32_t l_1128 = 0UL;
    uint32_t l_1151[4][6][9] = {{{4294967287UL,0x8FC9B2CBL,9UL,0xC04CF8C1L,0x9097E665L,0x96F35072L,0x7F99F37CL,0UL,3UL},{3UL,0x102D6956L,4294967287UL,2UL,0x102D6956L,1UL,4294967295UL,3UL,1UL},{0xC964842CL,0x8FC9B2CBL,3UL,0x11DF6F5FL,4294967287UL,0x65AE9C1DL,4294967287UL,0x11DF6F5FL,3UL},{0x2648294DL,0x2648294DL,6UL,0x102D6956L,0xE8607AE4L,1UL,4294967295UL,0x2648294DL,0xDE45D3BAL},{0x7F99F37CL,0x11DF6F5FL,1UL,0xCA8C4AA0L,4294967287UL,4294967287UL,0x7F99F37CL,0x8FC9B2CBL,0xEEAA97A4L},{0x102D6956L,3UL,6UL,3UL,0x102D6956L,4294967287UL,2UL,0x102D6956L,1UL}},{{0x7F99F37CL,0UL,3UL,4UL,0x9097E665L,0x01621DE2L,4294967295UL,0x8FC9B2CBL,1UL},{0x2648294DL,4294967295UL,4294967287UL,4294967295UL,4294967295UL,4294967287UL,4294967295UL,0x2648294DL,4294967295UL},{0xC964842CL,0xCA8C4AA0L,9UL,4UL,0xEDDEE072L,4294967287UL,0x9097E665L,0x11DF6F5FL,0xC8AF8F71L},{3UL,4294967295UL,4294967295UL,3UL,0x2648294DL,1UL,0x2648294DL,3UL,4294967295UL},{4294967287UL,0UL,0x5D9074C9L,0xCA8C4AA0L,0xA8CF9E3AL,0x65AE9C1DL,0x9097E665L,0UL,1UL},{4294967295UL,3UL,0xDE45D3BAL,0x102D6956L,0x2648294DL,1UL,4294967295UL,4294967295UL,1UL}},{{0xEDDEE072L,0x11DF6F5FL,0x5D9074C9L,0x11DF6F5FL,0xEDDEE072L,0x96F35072L,4294967295UL,0xCA8C4AA0L,0xEEAA97A4L},{4294967295UL,0x2648294DL,4294967295UL,2UL,4294967295UL,6UL,2UL,4294967295UL,0xDE45D3BAL},{4294967287UL,0x8FC9B2CBL,9UL,0xC04CF8C1L,0x9097E665L,0x96F35072L,0x7F99F37CL,0UL,3UL},{3UL,0x102D6956L,4294967287UL,2UL,0x102D6956L,1UL,4294967295UL,3UL,1UL},{0xC964842CL,0x8FC9B2CBL,3UL,0x11DF6F5FL,4294967287UL,0x65AE9C1DL,4294967287UL,0x11DF6F5FL,3UL},{0x2648294DL,0x2648294DL,6UL,0x102D6956L,0xE8607AE4L,1UL,4294967295UL,0x2648294DL,0xDE45D3BAL}},{{0x7F99F37CL,0x11DF6F5FL,1UL,0xCA8C4AA0L,4294967287UL,4294967287UL,0x7F99F37CL,0x8FC9B2CBL,0xEEAA97A4L},{0x102D6956L,0x25A0EB7FL,0x2648294DL,0x25A0EB7FL,0x56F8C6C1L,4294967295UL,0xA8932D96L,0x56F8C6C1L,4294967295UL},{4294967295UL,0xF525CDF4L,0xEDDEE072L,0xD4067E86L,0x6EDE4911L,0UL,0x23B68ECEL,0xEE307A73L,0xA8CF9E3AL},{2UL,4294967295UL,4294967295UL,1UL,1UL,4294967295UL,4294967295UL,2UL,0x102D6956L},{0x47ABDF12L,1UL,0x9097E665L,0xD4067E86L,4294967295UL,0x8FC9B2CBL,0x6EDE4911L,0xEFC47F67L,4294967295UL},{0x25A0EB7FL,4294967295UL,0x102D6956L,0x25A0EB7FL,2UL,2UL,2UL,0x25A0EB7FL,0x102D6956L}}};
    int16_t **l_1181 = &g_190;
    int8_t *l_1206 = &g_906;
    int32_t l_1228 = 0xFA3BAA8AL;
    int32_t l_1233[10][4] = {{0xE79358A9L,(-3L),0xE79358A9L,0x9046C9FCL},{0xE79358A9L,0x9046C9FCL,0x9046C9FCL,0xE79358A9L},{0L,0x9046C9FCL,(-5L),0x9046C9FCL},{0x9046C9FCL,(-3L),(-5L),(-5L)},{0L,0L,0x9046C9FCL,(-5L)},{0xE79358A9L,(-3L),0xE79358A9L,0x9046C9FCL},{0xE79358A9L,0x9046C9FCL,0x9046C9FCL,0xE79358A9L},{0L,0x9046C9FCL,(-5L),0x9046C9FCL},{0x9046C9FCL,(-3L),(-5L),(-5L)},{0L,0L,0x9046C9FCL,(-5L)}};
    int32_t *l_1287 = &g_45;
    uint8_t *l_1309 = &g_254[1];
    uint32_t *****l_1346 = &g_934;
    int32_t *l_1453 = &l_1233[9][0];
    int8_t l_1585[10] = {0L,0L,0L,0L,0L,0L,0L,0L,0L,0L};
    int i, j, k;
    for (i = 0; i < 5; i++)
        l_1124[i] = &l_1125;
    for (p_64 = 0; (p_64 <= 5); p_64 = safe_add_func_uint32_t_u_u(p_64, 5))
    { /* block id: 14 */
        uint32_t l_70 = 0x7DECAE08L;
        uint64_t *l_186[1];
        int32_t l_1106 = 1L;
        int32_t l_1107 = 0xD6B14174L;
        int32_t l_1108 = 0x6AB871F3L;
        uint16_t l_1112 = 1UL;
        uint32_t l_1136 = 4UL;
        int8_t *l_1205 = &g_906;
        const uint8_t * const l_1213 = &g_254[1];
        const uint8_t * const *l_1212 = &l_1213;
        int8_t **l_1245 = (void*)0;
        uint64_t l_1295[10] = {0xB0CDDFFE4DAB0598LL,18446744073709551608UL,0xB0CDDFFE4DAB0598LL,18446744073709551606UL,18446744073709551606UL,0xB0CDDFFE4DAB0598LL,18446744073709551608UL,0xB0CDDFFE4DAB0598LL,18446744073709551606UL,18446744073709551606UL};
        int32_t * const l_1362 = &g_1363;
        int32_t * const *l_1361[4];
        int16_t l_1364 = 1L;
        uint16_t l_1369 = 0UL;
        struct S0 ***l_1378 = &g_590;
        uint32_t **l_1383 = &g_473;
        uint32_t *l_1386 = &l_1151[2][3][3];
        uint32_t *l_1389 = &l_1136;
        int32_t *l_1414 = &l_1106;
        uint32_t l_1552 = 0xCCBC10ACL;
        volatile int32_t * volatile l_1695[2][10] = {{(void*)0,&g_3[2],&g_4,&g_3[2],(void*)0,&g_5,&g_5,(void*)0,&g_3[2],&g_4},{&g_3[0],&g_3[0],&g_4,(void*)0,&g_4,(void*)0,&g_4,&g_3[0],&g_3[0],&g_4}};
        int i, j;
        for (i = 0; i < 1; i++)
            l_186[i] = &g_157;
        for (i = 0; i < 4; i++)
            l_1361[i] = &l_1362;
    }
    return g_1714;
}


/* ------------------------------------------ */
/* 
 * reads : g_653 g_654 g_406 g_676 g_301.f0 g_190 g_191 g_391 g_180 g_644.f0 g_31 g_200 g_6 g_840 g_841 g_358 g_906 g_864.f0 g_418 g_405 g_934 g_969 g_975 g_976 g_22 g_859 g_722 g_495 g_359 g_1021 g_458 g_218 g_362 g_361 g_3 g_1075 g_448 g_45
 * writes: g_653 g_495 g_31 g_645 g_200 g_906 g_934 g_411 g_391 g_359 g_591 g_458 g_358 g_406 g_418 g_1075
 */
static int32_t * func_72(uint8_t  p_73, int8_t  p_74, uint32_t  p_75, uint8_t  p_76)
{ /* block id: 330 */
    uint32_t l_680 = 0x67082C42L;
    int32_t l_683 = 0L;
    const int32_t l_747 = 0L;
    const int32_t *l_754 = &g_45;
    const int32_t ** const l_753 = &l_754;
    uint64_t l_821 = 18446744073709551615UL;
    int16_t **l_834 = &g_190;
    uint16_t l_856[1][8] = {{1UL,1UL,1UL,1UL,1UL,1UL,1UL,1UL}};
    const int8_t *l_940 = &g_906;
    const int8_t **l_939 = &l_940;
    int8_t l_974 = 0xB7L;
    int8_t l_979 = (-1L);
    int32_t *l_1012 = &l_683;
    int32_t *l_1013 = &l_683;
    uint32_t *l_1033 = (void*)0;
    uint32_t **l_1032[1][10] = {{&l_1033,&l_1033,&l_1033,&l_1033,&l_1033,&l_1033,&l_1033,&l_1033,&l_1033,&l_1033}};
    int32_t l_1091 = 0x339A0418L;
    int32_t l_1092[8];
    int32_t l_1093 = 0x3DD5EEABL;
    int32_t *l_1100 = (void*)0;
    int i, j;
    for (i = 0; i < 8; i++)
        l_1092[i] = 0L;
    for (p_73 = 0; (p_73 != 11); p_73++)
    { /* block id: 333 */
        int16_t l_665[8] = {0L,4L,0L,0L,4L,0L,0L,4L};
        int32_t *l_681 = &g_495;
        int16_t *l_682 = &g_31[0][0];
        int32_t l_703 = (-2L);
        uint32_t *l_772[5][9] = {{&g_389[5][0][1],&g_389[0][0][2],&g_389[5][0][1],&g_389[0][0][2],&g_389[5][0][1],&g_389[0][0][2],&g_389[5][0][1],&g_389[0][0][2],&g_389[5][0][1]},{&g_180[1],&g_180[1],&g_180[1],&g_180[1],&g_180[1],&g_180[1],&g_180[1],&g_180[1],&g_180[1]},{&g_180[1],&g_389[0][0][2],&g_180[1],&g_389[0][0][2],&g_180[1],&g_389[0][0][2],&g_180[1],&g_389[0][0][2],&g_180[1]},{&g_180[1],&g_180[1],&g_180[1],&g_180[1],&g_180[1],&g_180[1],&g_180[1],&g_180[1],&g_180[1]},{&g_389[5][0][1],&g_389[0][0][2],&g_389[5][0][1],&g_389[0][0][2],&g_389[5][0][1],&g_389[0][0][2],&g_389[5][0][1],&g_389[0][0][2],&g_389[5][0][1]}};
        uint32_t **l_771 = &l_772[4][1];
        uint32_t ***l_770 = &l_771;
        int32_t l_784 = (-5L);
        int32_t l_895 = 1L;
        int32_t l_896 = 0xAD3954B0L;
        int32_t l_898 = 0x16EEF997L;
        int64_t l_944[4];
        int32_t *l_1015 = (void*)0;
        uint32_t ** const *l_1045[7][6][6] = {{{&l_771,&l_1032[0][6],(void*)0,&l_1032[0][6],&l_1032[0][5],&l_1032[0][8]},{(void*)0,&l_771,(void*)0,&l_771,&l_1032[0][7],&l_1032[0][9]},{&l_1032[0][9],&l_771,&l_1032[0][8],(void*)0,&l_1032[0][8],&l_771},{(void*)0,&l_1032[0][8],&l_771,&l_1032[0][9],&l_1032[0][8],&l_1032[0][8]},{&l_771,(void*)0,&l_771,(void*)0,&l_1032[0][6],&g_936},{&l_1032[0][6],(void*)0,&l_1032[0][6],&l_771,&l_1032[0][8],&g_936}},{{&l_1032[0][5],&l_1032[0][8],&l_1032[0][7],&l_1032[0][7],&l_1032[0][8],&l_1032[0][5]},{&l_1032[0][8],&l_771,(void*)0,&g_936,&l_1032[0][7],&l_1032[0][9]},{(void*)0,&l_771,&l_1032[0][7],&l_1032[0][9],&l_1032[0][5],&l_1032[0][6]},{(void*)0,&l_1032[0][6],&l_1032[0][9],&g_936,(void*)0,&l_1032[0][5]},{&l_1032[0][8],&l_1032[0][7],&l_1032[0][6],&l_1032[0][7],&l_1032[0][8],&l_1032[0][7]},{&l_1032[0][5],(void*)0,&g_936,&l_771,&g_936,&l_1032[0][8]}},{{&l_1032[0][6],&l_1032[0][7],&l_1032[0][8],(void*)0,(void*)0,&l_1032[0][8]},{&l_771,&l_1032[0][9],&g_936,&l_1032[0][9],&l_1032[0][7],&l_1032[0][7]},{(void*)0,&l_1032[0][6],&l_1032[0][6],(void*)0,&l_771,&l_1032[0][5]},{&l_1032[0][9],&g_936,&l_1032[0][9],&l_771,&g_936,&l_1032[0][6]},{(void*)0,&l_1032[0][8],&l_1032[0][7],&l_1032[0][6],&g_936,&l_1032[0][9]},{&l_771,&g_936,(void*)0,&l_1032[0][5],&l_771,&l_1032[0][5]}},{{&l_1032[0][7],&l_1032[0][6],&l_1032[0][7],&l_1032[0][8],&l_1032[0][7],&g_936},{&g_936,&l_1032[0][9],&l_1032[0][6],(void*)0,(void*)0,&g_936},{&l_1032[0][9],&l_1032[0][7],&l_771,(void*)0,&g_936,&l_1032[0][8]},{&g_936,(void*)0,&l_771,&l_1032[0][8],&l_1032[0][8],&l_771},{&l_1032[0][7],&l_1032[0][7],&l_1032[0][8],&l_1032[0][5],(void*)0,&l_1032[0][9]},{&l_771,&l_1032[0][6],(void*)0,&l_1032[0][6],&l_1032[0][5],&l_1032[0][8]}},{{(void*)0,&l_771,(void*)0,&l_771,&l_1032[0][7],&l_1032[0][9]},{&l_1032[0][9],&l_771,&l_1032[0][8],(void*)0,&l_1032[0][8],&l_771},{(void*)0,&l_1032[0][8],&l_771,&l_1032[0][9],&l_1032[0][8],&l_1032[0][8]},{&l_771,(void*)0,&l_771,(void*)0,&l_1032[0][6],&g_936},{&l_1032[0][6],(void*)0,&l_1032[0][6],&l_771,&l_1032[0][8],&g_936},{&l_1032[0][5],&l_1032[0][8],&l_1032[0][7],&l_1032[0][7],&l_1032[0][8],&l_1032[0][5]}},{{&l_1032[0][8],&l_771,(void*)0,&g_936,&l_1032[0][7],&l_1032[0][9]},{&g_936,&g_936,&l_1032[0][8],&g_936,&l_771,&l_771},{&g_936,&l_771,&g_936,(void*)0,&l_1032[0][5],&l_771},{&l_1032[0][9],&l_1032[0][8],&l_1032[0][8],&l_1032[0][8],&l_1032[0][9],&l_1032[0][8]},{&l_1032[0][7],&l_1032[0][8],&l_1032[0][7],&g_936,(void*)0,(void*)0},{&l_1032[0][8],&l_1032[0][8],(void*)0,&l_1032[0][8],&l_1032[0][8],(void*)0}},{{&l_1032[0][6],&g_936,&l_1032[0][7],&l_1032[0][6],&l_1032[0][8],&l_1032[0][8]},{&l_1032[0][8],&l_1032[0][8],&l_1032[0][8],&l_1032[0][8],&l_1032[0][6],&l_771},{&l_1032[0][6],&l_1032[0][7],&g_936,&l_1032[0][6],(void*)0,&l_771},{&l_1032[0][8],(void*)0,&l_1032[0][8],&l_1032[0][8],(void*)0,&l_1032[0][6]},{&g_936,&l_1032[0][7],&l_1032[0][8],&l_1032[0][7],&l_1032[0][6],&l_1032[0][7]},{&l_1032[0][8],&l_1032[0][8],&l_1032[0][8],&l_1032[0][9],&l_1032[0][8],(void*)0}}};
        uint32_t ** const **l_1044[8][3][3] = {{{&l_1045[4][3][1],&l_1045[3][4][5],&l_1045[3][4][5]},{&l_1045[5][4][5],(void*)0,(void*)0},{&l_1045[4][3][1],&l_1045[3][4][5],&l_1045[3][4][5]}},{{&l_1045[5][4][5],(void*)0,(void*)0},{&l_1045[4][3][1],&l_1045[3][4][5],&l_1045[3][4][5]},{&l_1045[5][4][5],(void*)0,(void*)0}},{{&l_1045[4][3][1],&l_1045[3][4][5],&l_1045[3][4][5]},{&l_1045[5][4][5],(void*)0,(void*)0},{&l_1045[4][3][1],&l_1045[3][4][5],&l_1045[3][4][5]}},{{&l_1045[5][4][5],(void*)0,(void*)0},{&l_1045[4][3][1],&l_1045[3][4][5],&l_1045[3][4][5]},{&l_1045[5][4][5],(void*)0,(void*)0}},{{&l_1045[4][3][1],&l_1045[3][4][5],&l_1045[3][4][5]},{&l_1045[5][4][5],(void*)0,(void*)0},{&l_1045[4][3][1],&l_1045[3][4][5],&l_1045[3][4][5]}},{{&l_1045[5][4][5],(void*)0,(void*)0},{&l_1045[4][3][1],&l_1045[3][4][5],&l_1045[3][4][5]},{&l_1045[5][4][5],(void*)0,(void*)0}},{{&l_1045[4][3][1],&l_1045[3][4][5],&l_1045[3][4][5]},{&l_1045[5][4][5],(void*)0,(void*)0},{&l_1045[4][3][1],&l_1045[3][4][5],&l_1045[3][4][5]}},{{&l_1045[5][4][5],(void*)0,(void*)0},{&l_1045[4][3][1],&l_1045[3][4][5],&l_1045[3][4][5]},{&l_1045[5][4][5],(void*)0,(void*)0}}};
        uint32_t ** const ***l_1043[9][3][9] = {{{(void*)0,&l_1044[2][0][2],&l_1044[7][1][2],&l_1044[7][1][2],&l_1044[7][1][2],&l_1044[2][2][0],&l_1044[7][1][2],&l_1044[6][1][2],&l_1044[7][1][2]},{&l_1044[7][1][2],&l_1044[2][2][2],&l_1044[5][1][1],&l_1044[7][1][2],(void*)0,&l_1044[7][1][2],&l_1044[5][1][0],&l_1044[7][1][2],&l_1044[5][1][0]},{&l_1044[7][2][1],(void*)0,(void*)0,(void*)0,(void*)0,&l_1044[7][2][1],&l_1044[1][0][0],&l_1044[7][1][2],(void*)0}},{{&l_1044[2][2][2],&l_1044[1][1][1],(void*)0,&l_1044[7][1][2],(void*)0,&l_1044[5][2][0],&l_1044[7][1][2],(void*)0,&l_1044[7][1][2]},{&l_1044[7][1][2],&l_1044[2][2][0],(void*)0,&l_1044[2][0][0],&l_1044[2][2][2],&l_1044[5][2][0],&l_1044[1][0][0],&l_1044[7][1][2],&l_1044[7][1][2]},{&l_1044[7][1][2],(void*)0,&l_1044[7][1][2],&l_1044[7][1][2],(void*)0,&l_1044[7][1][2],&l_1044[5][1][0],&l_1044[2][2][2],&l_1044[5][0][2]}},{{&l_1044[7][1][0],&l_1044[7][1][2],&l_1044[7][1][2],(void*)0,(void*)0,(void*)0,&l_1044[7][1][2],(void*)0,&l_1044[7][1][2]},{&l_1044[7][1][2],&l_1044[7][1][2],&l_1044[7][1][2],&l_1044[6][1][2],&l_1044[7][1][2],&l_1044[7][1][2],(void*)0,&l_1044[0][1][1],&l_1044[7][1][2]},{&l_1044[7][1][2],&l_1044[7][2][0],&l_1044[7][1][2],&l_1044[7][1][2],&l_1044[5][2][0],&l_1044[7][1][2],&l_1044[7][1][2],&l_1044[7][1][2],(void*)0}},{{(void*)0,&l_1044[7][1][2],&l_1044[7][1][2],&l_1044[3][2][1],&l_1044[7][1][2],(void*)0,&l_1044[4][1][2],&l_1044[7][1][2],&l_1044[7][1][2]},{&l_1044[7][1][2],&l_1044[6][1][1],&l_1044[7][1][2],&l_1044[1][2][2],&l_1044[2][2][2],&l_1044[0][0][0],&l_1044[5][2][0],&l_1044[4][2][1],&l_1044[7][1][2]},{&l_1044[7][1][2],&l_1044[1][2][2],&l_1044[7][1][2],&l_1044[4][2][1],(void*)0,(void*)0,(void*)0,&l_1044[6][1][2],&l_1044[0][1][1]}},{{(void*)0,&l_1044[4][1][2],&l_1044[7][1][2],&l_1044[7][1][2],(void*)0,&l_1044[1][0][0],&l_1044[6][1][2],&l_1044[5][2][0],&l_1044[7][1][2]},{&l_1044[2][2][2],&l_1044[7][1][2],&l_1044[7][1][2],&l_1044[7][1][2],(void*)0,&l_1044[7][1][2],&l_1044[3][1][2],&l_1044[3][2][2],&l_1044[3][2][2]},{(void*)0,&l_1044[7][1][2],(void*)0,&l_1044[4][1][2],(void*)0,&l_1044[7][1][2],(void*)0,&l_1044[7][1][2],(void*)0}},{{&l_1044[7][1][2],&l_1044[7][1][2],&l_1044[7][1][2],&l_1044[7][1][2],&l_1044[7][1][2],&l_1044[4][1][2],&l_1044[7][1][2],&l_1044[2][2][2],&l_1044[7][1][2]},{(void*)0,&l_1044[2][0][2],&l_1044[0][0][0],&l_1044[1][0][0],(void*)0,&l_1044[7][1][2],&l_1044[2][2][2],&l_1044[7][1][2],&l_1044[7][1][2]},{&l_1044[1][1][1],&l_1044[7][1][2],&l_1044[7][1][2],(void*)0,&l_1044[4][2][2],&l_1044[3][2][1],&l_1044[7][1][2],&l_1044[3][2][2],&l_1044[7][1][2]}},{{&l_1044[7][0][2],(void*)0,&l_1044[5][2][0],&l_1044[7][1][2],&l_1044[4][0][0],&l_1044[4][0][0],&l_1044[7][1][2],&l_1044[5][2][0],&l_1044[0][0][2]},{&l_1044[5][2][0],&l_1044[7][1][2],&l_1044[7][1][2],&l_1044[2][2][0],&l_1044[7][2][0],&l_1044[7][2][1],&l_1044[7][0][2],&l_1044[6][1][2],(void*)0},{&l_1044[0][0][2],&l_1044[7][1][2],&l_1044[7][1][2],&l_1044[6][1][1],&l_1044[7][1][2],&l_1044[1][1][1],(void*)0,&l_1044[4][2][1],(void*)0}},{{(void*)0,(void*)0,(void*)0,&l_1044[7][1][2],&l_1044[3][1][2],&l_1044[7][1][2],(void*)0,&l_1044[7][1][2],&l_1044[7][1][2]},{&l_1044[7][1][2],(void*)0,(void*)0,&l_1044[7][1][2],&l_1044[7][1][2],&l_1044[7][1][2],&l_1044[1][0][0],&l_1044[7][1][2],&l_1044[7][1][2]},{&l_1044[7][1][2],&l_1044[7][1][2],(void*)0,&l_1044[6][1][1],&l_1044[1][1][2],(void*)0,(void*)0,&l_1044[0][1][1],&l_1044[4][2][2]}},{{(void*)0,&l_1044[7][1][2],(void*)0,&l_1044[2][2][0],&l_1044[1][0][0],&l_1044[7][1][2],&l_1044[7][1][2],(void*)0,&l_1044[3][1][2]},{(void*)0,(void*)0,&l_1044[7][1][2],&l_1044[7][1][2],(void*)0,(void*)0,(void*)0,&l_1044[7][1][0],&l_1044[2][2][0]},{&l_1044[2][0][0],(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,&l_1044[2][0][0],&l_1044[7][1][2]}}};
        uint64_t l_1046 = 0x36AC4C3CF3972FF6LL;
        uint64_t *l_1078[2];
        uint64_t **l_1077 = &l_1078[1];
        int32_t l_1095[10][6] = {{0xCDC41213L,0L,0x729C1A62L,(-8L),0x78A35EFBL,0L},{0x27114375L,(-8L),0x09219EE2L,0x09219EE2L,(-8L),0x27114375L},{0x09219EE2L,(-8L),0x27114375L,(-5L),0x78A35EFBL,0x729C1A62L},{0x729C1A62L,0L,0xCDC41213L,0L,0x729C1A62L,(-8L)},{0x729C1A62L,0x09219EE2L,0L,(-5L),0L,0L},{0x09219EE2L,0x78A35EFBL,0x78A35EFBL,0x09219EE2L,0xCDC41213L,0L},{0x27114375L,0L,0L,(-8L),(-5L),(-8L)},{0xCDC41213L,0xC828E66AL,0xCDC41213L,0L,(-5L),0x729C1A62L},{0L,0L,0x27114375L,0xCDC41213L,0xCDC41213L,0x27114375L},{0x78A35EFBL,0x78A35EFBL,0x09219EE2L,0xCDC41213L,0L,0L}};
        int i, j, k;
        for (i = 0; i < 4; i++)
            l_944[i] = 0x4AEAF7CE1A051588LL;
        for (i = 0; i < 2; i++)
            l_1078[i] = &g_157;
        (*g_654) = g_653;
        if ((p_75 | ((safe_mod_func_uint32_t_u_u(0x6D46B2CAL, g_406)) , ((safe_add_func_int8_t_s_s((safe_rshift_func_int32_t_s_s((0x6CC5L >= ((*l_682) &= (safe_rshift_func_uint16_t_u_u(((((safe_mod_func_int16_t_s_s((l_665[3] | ((safe_div_func_uint32_t_u_u((((safe_add_func_uint64_t_u_u((safe_mul_func_uint16_t_u_u((((((safe_add_func_uint32_t_u_u(((safe_lshift_func_uint64_t_u_s(((g_676[0][0][4] , l_665[3]) ^ (~(safe_mul_func_int32_t_s_s(0x1F9BA150L, ((*l_681) = l_680))))), 44)) || g_301.f0), (-1L))) | 0x78D5E4D5L) == 0L) , (*g_190)) | p_75), (-2L))), g_391)) != 0x4E82L) || g_676[0][0][4].f1), g_391)) <= p_76)), (*g_190))) , g_180[1]) | (-1L)) , 0xD610L), g_644.f0)))), (*g_200))), 0L)) >= l_683))))
        { /* block id: 337 */
            uint16_t *l_702 = &g_411;
            const int32_t l_704 = 0x1A323F0FL;
            const int32_t **l_757 = &l_754;
            int32_t *l_769 = (void*)0;
            int32_t l_782 = 0L;
            int32_t l_783 = 0x64776078L;
            int8_t l_788[9] = {(-1L),0x49L,(-1L),0x49L,(-1L),0x49L,(-1L),0x49L,(-1L)};
            uint8_t l_791 = 0x46L;
            const uint8_t *l_793[7] = {&g_406,&g_254[0],&g_254[0],&g_406,&g_254[0],&g_254[0],&g_406};
            const uint8_t **l_792 = &l_793[6];
            uint32_t * const *l_810 = &g_473;
            int8_t l_832 = 0x19L;
            int32_t l_833 = 0x89413D72L;
            int8_t *l_838 = &g_358;
            int8_t **l_837[1];
            int8_t ***l_836 = &l_837[0];
            const uint32_t *l_868 = &g_869;
            int i;
            for (i = 0; i < 1; i++)
                l_837[i] = &l_838;
            for (g_645 = 13; (g_645 == 57); g_645 = safe_add_func_uint64_t_u_u(g_645, 1))
            { /* block id: 340 */
                uint8_t l_719[10][5] = {{0xA3L,252UL,0x9BL,0x9BL,252UL},{252UL,255UL,0xA3L,252UL,0x9BL},{255UL,252UL,0x25L,252UL,255UL},{0xA3L,0xCDL,255UL,0x9BL,0xCDL},{255UL,255UL,255UL,255UL,0x9BL},{252UL,255UL,0x25L,0xCDL,0xCDL},{0xA3L,255UL,0xA3L,0x9BL,255UL},{0xCDL,255UL,0x9BL,0xCDL,0x9BL},{0xCDL,0xCDL,0x25L,255UL,252UL},{0xA3L,252UL,0x9BL,0x9BL,252UL}};
                uint32_t l_748 = 0xADA08049L;
                struct S0 ***l_758 = &g_590;
                int32_t l_761 = 3L;
                uint32_t **l_809 = &g_473;
                int32_t l_887 = 0x3809F86EL;
                int32_t l_897 = (-3L);
                int i, j;
            }
        }
        else
        { /* block id: 415 */
            int32_t **l_902 = &g_200;
            int8_t *l_905 = &g_906;
            int16_t l_922 = 0x0FB5L;
            int32_t l_947 = 0x4ABDEC89L;
            int32_t *l_1014 = &l_703;
            uint32_t **** const *l_1042 = &g_934;
            int8_t l_1090 = (-4L);
            int32_t l_1094[6][4] = {{0x3CC5E7D7L,0xBF5E6538L,0xBF5E6538L,0x3CC5E7D7L},{0xBF5E6538L,0x3CC5E7D7L,0xBF5E6538L,0xBF5E6538L},{0x3CC5E7D7L,0x3CC5E7D7L,3L,0x3CC5E7D7L},{0x3CC5E7D7L,0xBF5E6538L,0xBF5E6538L,0x3CC5E7D7L},{0xBF5E6538L,0x3CC5E7D7L,0xBF5E6538L,0xBF5E6538L},{0x3CC5E7D7L,0x3CC5E7D7L,3L,0x3CC5E7D7L}};
            uint16_t l_1097 = 0x40F4L;
            int i, j;
            (*l_753) = ((*l_902) = (l_681 = &l_683));
            if (((0x4310L | ((safe_mul_func_uint16_t_u_u((((*l_905) |= (**g_840)) && 0x1EL), p_74)) > ((g_864.f0 ^ (((**l_902) = (-1L)) | (p_73 ^ (safe_mul_func_int64_t_s_s((safe_mod_func_uint64_t_u_u((((~((safe_add_func_uint16_t_u_u((g_418 , ((safe_add_func_uint64_t_u_u(((safe_div_func_int8_t_s_s(((((((safe_sub_func_int16_t_s_s(l_922, p_76)) , &g_200) == &l_754) < p_74) , p_75) != p_74), (*g_405))) , p_74), p_73)) ^ p_75)), p_76)) & 0xF3L)) & p_76) , 0UL), p_76)), p_74))))) | (-1L)))) >= 18446744073709551607UL))
            { /* block id: 421 */
                uint64_t *l_929 = &l_821;
                uint32_t *****l_937 = (void*)0;
                uint32_t *****l_938 = &g_934;
                int32_t *l_941 = &l_784;
                int32_t *l_1011 = &l_784;
                if ((safe_sub_func_int64_t_s_s(((*g_405) > ((safe_rshift_func_uint32_t_u_s(((((*l_929) = p_75) < ((safe_sub_func_int32_t_s_s(0x2B1AE6AFL, ((*g_200) = ((*l_941) |= (safe_add_func_int8_t_s_s((((*l_938) = g_934) == &g_709), ((**l_902) < ((**l_902) != (l_939 != (void*)0))))))))) || p_76)) , p_74), p_75)) == 0xDB14763FL)), p_76)))
                { /* block id: 426 */
                    uint32_t l_950[9] = {5UL,5UL,5UL,5UL,5UL,5UL,5UL,5UL,5UL};
                    uint64_t **l_968[4];
                    uint64_t ***l_967[6][4] = {{&l_968[3],&l_968[2],&l_968[1],&l_968[3]},{&l_968[0],&l_968[0],&l_968[0],&l_968[3]},{&l_968[1],&l_968[2],&l_968[3],&l_968[3]},{&l_968[3],&l_968[0],&l_968[2],&l_968[2]},{&l_968[3],&l_968[3],&l_968[2],&l_968[0]},{&l_968[3],&l_968[0],&l_968[3],&l_968[0]}};
                    uint64_t ****l_966 = &l_967[0][1];
                    int i, j;
                    for (i = 0; i < 4; i++)
                        l_968[i] = &l_929;
                    for (g_411 = (-24); (g_411 >= 45); g_411 = safe_add_func_int32_t_s_s(g_411, 7))
                    { /* block id: 429 */
                        int32_t *l_945 = (void*)0;
                        int32_t *l_946 = &g_495;
                        int32_t *l_948 = &l_947;
                        int32_t *l_949[5][4] = {{&l_784,&l_784,&l_784,&l_784},{&l_784,&l_784,&l_784,&l_784},{&l_784,&l_784,&l_784,&l_784},{&l_784,&l_784,&l_784,&l_784},{&l_784,&l_784,&l_784,&l_784}};
                        const uint64_t *l_973 = &g_157;
                        const uint64_t **l_972 = &l_973;
                        const uint64_t ***l_971 = &l_972;
                        const uint64_t ****l_970 = &l_971;
                        int i, j;
                        l_950[2]++;
                        (*l_941) &= ((**l_753) != (((((**l_902) & (safe_div_func_uint16_t_u_u(0xD0AFL, (safe_unary_minus_func_int16_t_s((safe_mul_func_int8_t_s_s((*l_681), ((((safe_mul_func_uint64_t_u_u((l_950[2] == (p_73 , 18446744073709551609UL)), ((safe_mod_func_int32_t_s_s((safe_mod_func_uint32_t_u_u((safe_lshift_func_uint16_t_u_s((l_966 == (g_969 , l_970)), (*l_681))), l_974)), l_950[2])) ^ 3UL))) ^ 65530UL) < p_74) > p_73)))))))) || (*l_681)) | (*l_948)) , (**l_902)));
                    }
                    (*g_976) = g_975;
                }
                else
                { /* block id: 434 */
                    int32_t l_983 = 0xD2E84B54L;
                    uint32_t *l_1005 = &g_389[2][0][2];
                    for (g_391 = 0; (g_391 <= (-8)); g_391 = safe_sub_func_int32_t_s_s(g_391, 4))
                    { /* block id: 437 */
                        uint32_t l_980 = 4294967295UL;
                        uint16_t *l_994 = (void*)0;
                        uint16_t *l_995 = &l_856[0][1];
                        uint32_t *l_996 = &g_22;
                        uint64_t ***l_997 = (void*)0;
                        uint64_t **l_999 = (void*)0;
                        uint64_t ***l_998 = &l_999;
                        int64_t *l_1010 = &g_359[1][6];
                        (*l_753) = (((*l_929) = ((((((l_979 = p_75) < ((*l_905) &= (l_980 | ((safe_mul_func_uint64_t_u_u(0UL, ((l_983 <= ((*l_681) == (safe_add_func_uint32_t_u_u((((*l_995) = (((safe_sub_func_uint16_t_u_u(g_969.f0, (safe_add_func_uint8_t_u_u((p_76 || (((safe_mul_func_int16_t_s_s(p_74, (*l_754))) == (*g_405)) >= 0xEB47C330F80078EELL)), 250UL)))) != (*l_941)) > (**g_840))) | p_75), p_76)))) , p_76))) , p_75)))) , l_996) != l_941) == p_76) && p_76)) , l_996);
                        l_983 |= (((*g_859) != ((*g_200) , ((*l_998) = &l_929))) != ((p_75 <= p_73) & (((*l_1010) ^= ((safe_sub_func_int64_t_s_s(((~(safe_lshift_func_uint16_t_u_s(g_495, ((void*)0 == l_1005)))) | (safe_div_func_uint64_t_u_u((safe_lshift_func_uint64_t_u_u(((p_73 > g_358) & 0x6DD9L), 39)), 4UL))), p_74)) != (-4L))) ^ (*l_681))));
                    }
                    return l_1015;
                }
            }
            else
            { /* block id: 449 */
                uint16_t l_1028 = 1UL;
                uint32_t **l_1034 = &l_1033;
                uint16_t l_1049 = 0UL;
                int32_t l_1069 = (-1L);
                int32_t l_1096[5];
                int i;
                for (i = 0; i < 5; i++)
                    l_1096[i] = 0xAA2D77E5L;
                for (g_906 = 0; (g_906 < 25); ++g_906)
                { /* block id: 452 */
                    uint64_t *l_1047 = &g_458;
                    uint64_t *l_1048 = &l_821;
                    for (l_898 = 0; (l_898 >= (-30)); l_898--)
                    { /* block id: 455 */
                        struct S0 *l_1020 = &g_676[0][0][4];
                        int32_t l_1031 = 0x22D82967L;
                        int64_t *l_1035 = &l_944[3];
                        (*g_1021) = l_1020;
                        (*g_200) = ((*l_681) != ((((0x28DD83A7BF5A2842LL ^ (safe_div_func_uint32_t_u_u(p_74, p_74))) && ((*l_1035) = (safe_div_func_int16_t_s_s(((l_1028 , (safe_add_func_uint32_t_u_u(l_1031, 0x9EAD0EB1L))) != (l_1032[0][8] != l_1034)), (*l_754))))) == p_74) , p_75));
                    }
                    if (p_74)
                        break;
                    (*l_1014) &= (((safe_add_func_int8_t_s_s(((*g_841) = (safe_rshift_func_uint64_t_u_s(((*l_1048) = ((safe_sub_func_int32_t_s_s(1L, (l_1042 == l_1043[4][2][2]))) , ((*l_1047) ^= l_1046))), g_218[4][2]))), 0x07L)) >= ((2UL == ((l_1049 | 1UL) >= 0xE6L)) == (**g_362))) <= (*g_200));
                    (*l_753) = &l_784;
                }
                for (g_406 = 0; (g_406 != 17); g_406++)
                { /* block id: 469 */
                    uint64_t l_1066 = 1UL;
                    uint64_t **l_1079 = &l_1078[1];
                    int32_t l_1080 = 0x660F9C5FL;
                    int32_t l_1089[10];
                    int i;
                    for (i = 0; i < 10; i++)
                        l_1089[i] = (-1L);
                    for (l_1046 = 0; (l_1046 != 51); ++l_1046)
                    { /* block id: 472 */
                        uint8_t l_1059 = 0x46L;
                        uint16_t *l_1072[5];
                        int32_t l_1073 = 0xA8E35398L;
                        int32_t *l_1074 = &g_418;
                        int32_t *l_1081 = &l_784;
                        int32_t *l_1082 = &l_947;
                        int32_t *l_1083 = &g_495;
                        int32_t *l_1084 = (void*)0;
                        int32_t *l_1085 = (void*)0;
                        int32_t *l_1086 = &g_495;
                        int32_t *l_1087 = &l_1073;
                        int32_t *l_1088[9] = {(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0};
                        int i;
                        for (i = 0; i < 5; i++)
                            l_1072[i] = &l_1028;
                        (*l_1014) ^= ((*l_681) ^ ((safe_mod_func_uint16_t_u_u((!l_1059), (*g_190))) >= (p_74 == (((**g_840) = (((*g_859) == (l_1079 = (((safe_div_func_uint64_t_u_u(((((safe_sub_func_int64_t_s_s((safe_add_func_uint32_t_u_u(l_1066, (((*l_1074) = ((l_1069 = (safe_lshift_func_uint64_t_u_s(l_1066, 62))) & (l_1073 = (safe_rshift_func_int16_t_s_s(p_76, 4))))) , ((g_1075 = g_1075) != &g_1076)))), g_448)) != (*l_1012)) == g_406) <= 0x02575651L), l_1059)) & 0x4A62L) , l_1077))) , (-5L))) , (**l_902)))));
                        --l_1097;
                        if (l_1080)
                            break;
                    }
                }
            }
        }
    }
    return l_1100;
}


/* ------------------------------------------ */
/* 
 * reads : g_41 g_358 g_359 g_43 g_71 g_45 g_361 g_362 g_190 g_191 g_180 g_389 g_6 g_391 g_3 g_393 g_242.f1 g_411 g_157 g_254 g_405 g_406 g_218 g_418 g_149 g_4 g_492 g_495 g_562 g_563 g_592 g_590 g_31 g_200 g_604.f0 g_613 g_644 g_645 g_603.f0
 * writes: g_352 g_254 g_358 g_200 g_242 g_45 g_361 g_180 g_389 g_391 g_404 g_411 g_157 g_191 g_458 g_359 g_3 g_4 g_473 g_218 g_393 g_590 g_591 g_406 g_639 g_495
 */
static int16_t  func_79(uint16_t  p_80, const int16_t  p_81)
{ /* block id: 144 */
    int32_t **l_351[10][1] = {{(void*)0},{&g_200},{(void*)0},{&g_200},{(void*)0},{&g_200},{(void*)0},{&g_200},{(void*)0},{&g_200}};
    uint64_t *l_353 = &g_157;
    uint8_t *l_356[10] = {(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0};
    int8_t *l_357 = &g_358;
    int32_t l_368 = 0xAFA89BE3L;
    const uint64_t l_436 = 1UL;
    int32_t l_466 = 0L;
    uint32_t *l_517[6] = {&g_22,&g_22,&g_22,&g_22,&g_22,&g_22};
    int16_t l_557 = 0x21AEL;
    int16_t **l_559 = &g_190;
    int i, j;
lbl_477:
    g_352 = (void*)0;
    if (((((void*)0 != l_353) & ((safe_div_func_uint8_t_u_u((g_254[1] = 6UL), (g_41[1][0] , ((*l_357) |= ((void*)0 == l_353))))) <= ((g_200 = &g_6[0]) == &g_6[0]))) >= g_359[1][6]))
    { /* block id: 149 */
        struct S0 *l_360 = &g_242;
        int32_t l_384[3];
        uint32_t l_392 = 6UL;
        uint8_t **l_399 = &l_356[1];
        uint16_t l_420[5][7][7] = {{{0xC199L,5UL,6UL,1UL,0xE119L,65535UL,65529UL},{0x5DCEL,0xC7C7L,0x25E7L,65535UL,65535UL,0x25E7L,0xC7C7L},{0x88EBL,65533UL,0UL,65526UL,0x8476L,0x0901L,1UL},{0x9BECL,0x58C1L,1UL,65535UL,5UL,0xA926L,65535UL},{0xBC78L,0xC199L,65529UL,65526UL,0xAA43L,0x88EBL,0x0901L},{0xC711L,65535UL,0xE7AFL,65535UL,0UL,0xE79EL,0x26ACL},{65535UL,0UL,5UL,1UL,0UL,65535UL,0x03C7L}},{{0UL,0xDEC5L,0xDDA5L,0x9D32L,1UL,65527UL,0x25E7L},{0xE2F7L,0UL,65532UL,65530UL,65527UL,0x1C69L,0x1C69L},{0UL,0xDDA5L,0xAAA8L,0xDDA5L,0UL,6UL,0xDEC5L},{65533UL,0UL,0xBC78L,6UL,0UL,1UL,6UL},{65535UL,0x678FL,0x9AC2L,0x58C1L,65535UL,5UL,0xCDC7L},{65533UL,6UL,0xE119L,0x1C69L,1UL,0UL,0xBE8AL},{0UL,0x7608L,1UL,0xBD80L,0x3314L,0x9BECL,65535UL}},{{0xE2F7L,0x8851L,0x03C7L,65535UL,6UL,65535UL,65535UL},{0UL,0xAEEEL,0xCC7BL,0xA926L,0xE6A3L,0x9AC2L,0xBD80L},{65535UL,0xAD31L,0x7ADAL,1UL,65529UL,1UL,0x7ADAL},{0xC711L,0xC711L,0xAB66L,65535UL,0x566FL,0UL,0x678FL},{0xBC78L,1UL,0x5E2AL,0xE2F7L,0x03C7L,5UL,0xAA43L},{0x9BECL,0UL,65535UL,65532UL,0x566FL,65535UL,0x58C1L},{0x88EBL,0x404CL,1UL,0x8476L,0x1C9CL,0x03C7L,0UL}},{{1UL,65535UL,1UL,0UL,65527UL,0UL,0xE6A3L},{0UL,0xEF6AL,2UL,65527UL,0x03C7L,1UL,0xBE8AL},{65527UL,0x3314L,0xDDA5L,0x3427L,0xE6A3L,0xE7AFL,65532UL},{65534UL,0xBC78L,65526UL,65526UL,0xBC78L,65534UL,0x404CL},{0x678FL,65527UL,65535UL,65532UL,0x3427L,0x566FL,0xC7C7L},{65526UL,6UL,65529UL,0xFF5CL,0x1C69L,0xC199L,1UL},{6UL,65527UL,0xC33BL,0UL,0x9AC2L,1UL,0x980AL}},{{0xEF6AL,0xBC78L,65531UL,65535UL,0x87D2L,0x404CL,6UL},{0xBD80L,0x3314L,0x9BECL,65535UL,6UL,0xAB66L,0x9AC2L},{6UL,0xEF6AL,0x5E2AL,0x8476L,0x8FB9L,0x88EBL,65535UL},{0xE7AFL,65535UL,65535UL,65527UL,0xAEEEL,0xAEEEL,65527UL},{65533UL,0x88EBL,65533UL,0UL,65526UL,0x8476L,0x0901L},{1UL,0x9AC2L,0x3BA0L,0xDDA5L,0UL,65535UL,0x9BECL},{65531UL,0UL,65535UL,0UL,65535UL,0x8476L,0xE119L}}};
        int i, j, k;
        for (i = 0; i < 3; i++)
            l_384[i] = 0x88F00477L;
        (*l_360) = g_43[0][2][0];
        if (((*g_71) |= 0x4838C9CEL))
        { /* block id: 152 */
            (*g_362) = g_361;
            return (*g_190);
        }
        else
        { /* block id: 155 */
            uint8_t *l_365 = (void*)0;
            int32_t *l_381 = (void*)0;
            int32_t *l_382[8] = {(void*)0,&g_6[0],&g_6[0],(void*)0,&g_6[0],&g_6[0],(void*)0,&g_6[0]};
            const int8_t *l_447[4] = {&g_448,&g_448,&g_448,&g_448};
            int i;
            for (g_358 = 0; (g_358 == (-4)); g_358--)
            { /* block id: 158 */
                uint8_t **l_366 = (void*)0;
                uint8_t **l_367[10][2] = {{&l_365,&l_356[1]},{&l_356[8],&l_356[1]},{&l_365,(void*)0},{(void*)0,&l_365},{&l_356[1],&l_356[8]},{&l_356[1],&l_365},{(void*)0,(void*)0},{&l_365,&l_356[1]},{&l_356[8],&l_356[1]},{&l_365,(void*)0}};
                int32_t *l_380 = &g_6[0];
                uint32_t *l_383 = (void*)0;
                uint32_t *l_385 = &g_180[1];
                uint32_t *l_388 = &g_389[2][0][2];
                int8_t *l_390 = (void*)0;
                uint8_t **l_400 = &l_356[7];
                uint8_t ***l_401 = (void*)0;
                uint8_t ***l_402 = (void*)0;
                uint8_t ***l_403 = &l_366;
                uint16_t *l_409 = (void*)0;
                uint16_t *l_410 = &g_411;
                int32_t l_415 = 0x32603213L;
                int32_t l_417 = 0x233E4131L;
                int32_t l_419[9][6] = {{0xA1150663L,0xC222AE68L,(-1L),0x5E26DA1BL,0x5E26DA1BL,(-1L)},{0xA1150663L,0xA1150663L,0L,(-1L),0xB8BF52BFL,(-1L)},{0xC222AE68L,0xA1150663L,0L,0L,0x5E26DA1BL,0L},{8L,0xC222AE68L,0L,8L,0xA1150663L,(-1L)},{(-1L),8L,0L,8L,(-1L),(-1L)},{8L,(-1L),(-1L),0L,(-1L),1L},{0xC222AE68L,8L,0x4BC8B719L,(-1L),0xA1150663L,1L},{0xA1150663L,0xC222AE68L,(-1L),0x5E26DA1BL,0x5E26DA1BL,(-1L)},{0xA1150663L,0xA1150663L,0L,(-1L),0xB8BF52BFL,(-1L)}};
                int i, j;
                g_45 &= (((l_356[8] = l_365) != ((l_368 | (safe_sub_func_int64_t_s_s((p_80 > p_80), ((g_41[1][1] , (safe_lshift_func_uint8_t_u_s((g_254[1] = (((safe_rshift_func_uint64_t_u_s(((g_391 |= ((!(l_384[0] = (safe_add_func_uint16_t_u_u((safe_lshift_func_uint32_t_u_u(((*l_388) ^= (((l_381 = l_380) != l_382[2]) , ((*l_385)--))), (l_384[1] & 252UL))), p_80)))) , (*l_380))) == p_80), g_3[2])) > 0xC597L) != (-8L))), (*l_380)))) == l_392)))) , &g_254[1])) , (*l_380));
                g_242 = g_393;
                if ((safe_mul_func_int64_t_s_s((((l_382[6] != &g_22) , p_81) ^ ((g_254[1] = g_242.f1) < (safe_rshift_func_uint32_t_u_s((p_80 > (((g_6[0] , (!(l_399 != (g_404[3] = ((*l_403) = l_400))))) > ((*l_410) = (safe_lshift_func_int16_t_s_s(((&g_157 != &g_157) & p_81), 9)))) > g_191[6])), 22)))), (*l_380))))
                { /* block id: 172 */
                    l_384[0] |= ((*g_71) = 0L);
                    l_380 = l_380;
                    if ((*l_380))
                        continue;
                }
                else
                { /* block id: 177 */
                    int16_t **l_412 = &g_190;
                    int32_t l_413[6][3][2] = {{{4L,4L},{1L,1L},{4L,4L}},{{4L,1L},{(-2L),(-7L)},{1L,(-7L)}},{{(-2L),1L},{4L,4L},{4L,1L}},{{(-2L),(-7L)},{1L,(-7L)},{(-2L),1L}},{{4L,4L},{4L,1L},{(-2L),(-7L)}},{{1L,(-7L)},{(-2L),1L},{4L,4L}}};
                    int i, j, k;
                    for (g_411 = 0; (g_411 <= 1); g_411 += 1)
                    { /* block id: 180 */
                        int32_t l_414 = (-6L);
                        int32_t l_416[2];
                        int i;
                        for (i = 0; i < 2; i++)
                            l_416[i] = 0x24D6171FL;
                        l_412 = &g_190;
                        --l_420[2][0][6];
                        if (g_180[g_411])
                            continue;
                    }
                }
            }
            for (l_392 = 26; (l_392 == 4); l_392 = safe_sub_func_int64_t_s_s(l_392, 1))
            { /* block id: 189 */
                uint32_t *l_429[6];
                int32_t l_439[8] = {(-2L),(-2L),3L,(-2L),(-2L),3L,(-2L),(-2L)};
                uint16_t *l_443 = &l_420[4][1][3];
                const uint32_t l_444[6] = {4294967295UL,4294967295UL,4294967295UL,4294967295UL,4294967295UL,4294967295UL};
                const int8_t *l_445 = &g_358;
                const int8_t **l_446[10] = {(void*)0,&l_445,(void*)0,(void*)0,&l_445,(void*)0,(void*)0,&l_445,(void*)0,(void*)0};
                uint64_t *l_457 = &g_458;
                uint8_t **l_464 = (void*)0;
                uint8_t ***l_465[7][4] = {{&g_404[3],&g_404[0],&l_399,&l_399},{&g_404[3],&g_404[3],&g_404[3],&g_404[0]},{&g_404[0],&g_404[3],&g_404[3],&g_404[3]},{&g_404[3],(void*)0,&l_399,&g_404[3]},{&g_404[3],(void*)0,(void*)0,&g_404[3]},{(void*)0,&g_404[3],&g_404[3],&g_404[0]},{(void*)0,&g_404[3],(void*)0,&l_399}};
                int64_t *l_467 = &g_359[1][6];
                int32_t *l_468 = (void*)0;
                uint32_t **l_472 = (void*)0;
                int i, j;
                for (i = 0; i < 6; i++)
                    l_429[i] = &g_389[3][0][1];
                l_439[6] = ((safe_div_func_int64_t_s_s((safe_rshift_func_int8_t_s_u(p_80, 5)), (((0xE3659406L < (l_384[0] = 4294967295UL)) >= ((((g_242.f1 < (((*g_190) = ((safe_rshift_func_int16_t_s_u(((*g_190) && ((safe_div_func_int16_t_s_s((((safe_mod_func_uint64_t_u_u((((l_436 == ((*l_443) = (safe_lshift_func_int32_t_s_u(l_439[6], ((!(((*l_353) &= l_439[0]) >= ((safe_sub_func_uint16_t_u_u(g_254[3], (-1L))) ^ l_439[6]))) && (*g_405)))))) > p_81) && l_420[0][4][3]), 0xDD669E8D7BE8B8EBLL)) >= l_392) || g_218[4][2]), (*g_190))) <= l_444[2])), g_389[2][0][2])) , l_420[2][0][6])) | g_218[4][2])) != l_392) ^ g_218[3][0]) < p_80)) ^ p_81))) || 0x2925L);
                (*g_149) = (((*l_467) &= (((((l_447[3] = l_445) == &g_358) >= ((safe_add_func_uint16_t_u_u((((safe_div_func_uint64_t_u_u((0x43L | ((*l_357) = (safe_mul_func_uint64_t_u_u((p_80 != ((((l_444[3] , ((((*l_457) = ((*l_353) = g_418)) & ((safe_mod_func_int16_t_s_s(((((*g_190) = (~((safe_div_func_int8_t_s_s(((l_399 = l_464) == (g_404[2] = &l_356[1])), g_418)) , (-1L)))) == p_81) ^ l_439[3]), l_466)) ^ 5UL)) && 0x00L)) < p_80) | l_444[4]) <= 0xA7E7673AL)), 0x3E813F1C1A734319LL)))), p_80)) , (void*)0) == (void*)0), l_420[2][0][6])) || g_43[0][2][0].f0)) && p_80) <= g_411)) > g_254[0]);
                l_468 = &l_439[0];
                (*l_468) ^= (((!(((&l_439[6] == (l_382[2] = &l_384[1])) <= (safe_add_func_int64_t_s_s((l_381 == (void*)0), ((g_473 = l_468) != &g_22)))) & (((p_80 | ((void*)0 == &l_468)) || 0xC3B25BA7L) > g_6[0]))) , (-3L)) == 0x6E84AD5349AAB86DLL);
            }
            for (g_157 = (-29); (g_157 == 24); g_157++)
            { /* block id: 211 */
                uint64_t l_478[2];
                int i;
                for (i = 0; i < 2; i++)
                    l_478[i] = 0x609736EBB5A25F94LL;
                for (g_411 = 0; (g_411 <= 9); g_411 += 1)
                { /* block id: 214 */
                    uint64_t l_476 = 0x5FBB34B012D960DBLL;
                    l_476 &= (p_81 >= (**g_362));
                    for (p_80 = 0; (p_80 <= 3); p_80 += 1)
                    { /* block id: 218 */
                        int i, j;
                        (*g_149) ^= g_218[(p_80 + 1)][p_80];
                        if (g_358)
                            goto lbl_477;
                    }
                }
                --l_478[0];
            }
            return (*g_190);
        }
    }
    else
    { /* block id: 227 */
        int8_t l_481 = 8L;
        uint64_t l_531 = 0x25E768B512233E1FLL;
        int32_t l_543[2][2][6] = {{{0L,0x6021FDB7L,0x6021FDB7L,0L,0x6021FDB7L,0x6021FDB7L},{0L,0x6021FDB7L,0x6021FDB7L,0L,0x6021FDB7L,0x6021FDB7L}},{{0L,0x6021FDB7L,0x6021FDB7L,0L,0x6021FDB7L,0x6021FDB7L},{0L,0x6021FDB7L,0x6021FDB7L,0L,0x6021FDB7L,0x6021FDB7L}}};
        int16_t l_545 = 0x3448L;
        uint8_t l_546 = 0xAAL;
        int32_t *l_551 = (void*)0;
        int32_t l_554 = 0xB0B88A47L;
        int32_t l_565 = (-10L);
        int8_t l_579 = 0x4AL;
        struct S0 *l_588 = &g_242;
        struct S0 **l_587 = &l_588;
        int32_t l_626 = (-1L);
        int32_t l_627 = (-1L);
        int32_t l_628 = 9L;
        int i, j, k;
        (*g_149) ^= ((l_481 && l_481) > 1UL);
        for (l_368 = 0; (l_368 != 15); l_368++)
        { /* block id: 231 */
            uint32_t l_484 = 0x1F256A3EL;
            int32_t *l_494 = &g_495;
            int32_t l_544 = 0x525754A4L;
            uint64_t l_568 = 0x8CE1AEF16FA684FBLL;
            int32_t l_576 = 4L;
            int32_t l_580 = 0x5D0F0743L;
            int32_t l_581 = 0x9AD71CC9L;
            struct S0 *l_601[1][8] = {{&g_603[4][0],&g_602,&g_602,&g_603[4][0],&g_602,&g_602,&g_603[4][0],&g_602}};
            int16_t l_624[7][4][8] = {{{0xB178L,5L,0x37BFL,5L,0xB178L,0x9C49L,0L,0xB0E3L},{5L,0x455DL,0x771DL,0x37BFL,0x37BFL,0x771DL,0x455DL,5L},{8L,0x9C49L,0x771DL,(-8L),0L,0xB178L,0L,(-8L)},{0x37BFL,0x1E8CL,0x37BFL,0xB0E3L,(-8L),0xB178L,0x771DL,0x771DL}},{{0x771DL,0x9C49L,8L,8L,0x9C49L,0x771DL,(-8L),0L},{0x771DL,0x455DL,5L,0x9C49L,(-8L),0x9C49L,5L,0x455DL},{0x37BFL,5L,0xB178L,0x9C49L,0L,0xB0E3L,0xB0E3L,0L},{8L,0L,0L,8L,0x37BFL,0x455DL,0xB0E3L,0x771DL}},{{5L,8L,0xB178L,0xB0E3L,0xB178L,8L,5L,(-8L)},{0xB178L,8L,0x1E8CL,0x455DL,0xB178L,0xB178L,0x455DL,0x1E8CL},{0xB0E3L,0xB0E3L,0L,0x9C49L,0xB178L,5L,0x37BFL,5L},{0x771DL,0x1E8CL,0x9C49L,0x1E8CL,0x771DL,8L,0xB0E3L,5L}},{{0x1E8CL,0xB178L,0x37BFL,0x9C49L,0x9C49L,0x37BFL,0xB178L,0x1E8CL},{0L,8L,0x37BFL,0x455DL,0xB0E3L,0x771DL,0xB0E3L,0x455DL},{0x9C49L,(-8L),0x9C49L,5L,0x455DL,0x771DL,0x37BFL,0x37BFL},{0x37BFL,8L,0L,0L,8L,0x37BFL,0x455DL,0xB0E3L}},{{0x37BFL,0xB178L,0x1E8CL,8L,0x455DL,8L,0x1E8CL,0xB178L},{0x9C49L,0x1E8CL,0x771DL,8L,0xB0E3L,5L,5L,0xB0E3L},{0L,0xB0E3L,0xB0E3L,0L,0x9C49L,0xB178L,5L,0x37BFL},{0x1E8CL,0L,0x771DL,5L,0x771DL,0L,0x1E8CL,0x455DL}},{{0x771DL,0L,0x1E8CL,0x455DL,0xB178L,0xB178L,0x455DL,0x1E8CL},{0xB0E3L,0xB0E3L,0L,0x9C49L,0xB178L,5L,0x37BFL,5L},{0x771DL,0x1E8CL,0x9C49L,0x1E8CL,0x771DL,8L,0xB0E3L,5L},{0x1E8CL,0xB178L,0x37BFL,0x9C49L,0x9C49L,0x37BFL,0xB178L,0x1E8CL}},{{0L,8L,0x37BFL,0x455DL,0xB0E3L,0x771DL,0xB0E3L,0x455DL},{0x9C49L,(-8L),0x9C49L,5L,0x455DL,0x771DL,0x37BFL,0x37BFL},{0x37BFL,8L,0L,0L,8L,0x37BFL,0x455DL,0xB0E3L},{0x37BFL,0xB178L,0x1E8CL,8L,0x455DL,8L,0x1E8CL,0xB178L}}};
            uint32_t l_630 = 0xF9D7DB10L;
            int i, j, k;
            l_484--;
            if (p_80)
                continue;
            for (l_466 = 0; (l_466 != 16); l_466 = safe_add_func_uint32_t_u_u(l_466, 1))
            { /* block id: 236 */
                uint32_t l_489 = 18446744073709551615UL;
                int32_t *l_493 = &g_6[0];
                int32_t l_532 = 0L;
                int16_t **l_560 = (void*)0;
                int32_t l_572[9] = {0x81AA313DL,0xE3B6F74BL,0x81AA313DL,0x81AA313DL,0xE3B6F74BL,0x81AA313DL,0x81AA313DL,0xE3B6F74BL,0x81AA313DL};
                uint64_t l_582 = 0xBB47C7C3BB8EAD91LL;
                int i;
                l_489++;
                for (g_411 = 0; (g_411 <= 1); g_411 += 1)
                { /* block id: 240 */
                    uint64_t l_530 = 18446744073709551607UL;
                    uint8_t **l_541 = (void*)0;
                    int16_t l_542 = 1L;
                    (*g_492) = (*g_362);
                    for (g_45 = 1; (g_45 >= 0); g_45 -= 1)
                    { /* block id: 244 */
                        l_494 = l_493;
                    }
                    for (l_481 = 1; (l_481 >= 0); l_481 -= 1)
                    { /* block id: 249 */
                        uint8_t ***l_518 = &g_404[1];
                        int32_t l_528 = 0x7BDD3ABBL;
                        int64_t *l_529 = &g_359[1][6];
                        int i;
                        l_532 &= (l_528 = (safe_lshift_func_int16_t_s_u((safe_mod_func_int64_t_s_s(((safe_div_func_int8_t_s_s((safe_lshift_func_uint64_t_u_u(0x571B87A02613ECBFLL, (((safe_mul_func_int8_t_s_s((~(g_43[0][2][0].f0 | ((safe_lshift_func_int16_t_s_u(((g_218[4][2] = (((((safe_div_func_int8_t_s_s((safe_mod_func_int32_t_s_s((((safe_sub_func_uint64_t_u_u((((((void*)0 == l_517[0]) || ((((*l_518) = &g_405) == &g_405) , ((*l_529) = (g_406 > ((safe_mod_func_int32_t_s_s((safe_div_func_uint8_t_u_u((~(safe_div_func_uint16_t_u_u(p_81, (safe_lshift_func_int8_t_s_s(((4294967295UL && (*l_494)) <= 0x04E3L), 1))))), l_528)), l_528)) , p_81))))) | g_254[1]) <= p_80), 0xD9542B6830FE98D5LL)) >= l_481) && (**g_492)), g_391)), (*g_405))) > l_530) <= l_528) | 0x67158AE5L) == 1UL)) == p_81), 7)) != 1L))), p_80)) , l_481) || p_81))), (*l_494))) != g_191[8]), l_531)), 8)));
                        l_545 = (((p_80 != (safe_mod_func_int16_t_s_s((*g_190), 1L))) >= (l_544 = ((safe_mul_func_uint16_t_u_u(0xC632L, (((g_180[g_411] = (((safe_sub_func_int8_t_s_s(((((((safe_rshift_func_uint32_t_u_u(p_80, 26)) | (1L != (((65535UL != (-6L)) < (l_541 != l_541)) , p_80))) != l_542) > l_530) && (*g_190)) && l_543[1][0][4]), 0x39L)) , 0xEEL) || (*g_405))) , l_353) != &g_359[1][6]))) , l_543[1][0][4]))) , p_81);
                        --l_546;
                    }
                }
                for (p_80 = 26; (p_80 > 54); ++p_80)
                { /* block id: 263 */
                    uint32_t *l_558 = &g_389[2][0][2];
                    int16_t ***l_561 = &l_560;
                    int32_t l_564 = (-1L);
                    int32_t l_566 = 1L;
                    l_551 = &l_532;
                    if ((g_495 < ((safe_mul_func_int32_t_s_s(l_554, ((((+((*l_558) = (~l_557))) && (0xECL < (((*l_551) = 0x3A3BDEFCL) >= ((*g_149) <= (l_559 != ((*l_561) = l_560)))))) != 0x1A65B3D7F62FD211LL) , 1UL))) , g_43[0][2][0].f0)))
                    { /* block id: 268 */
                        (*g_563) = g_562;
                        (**g_362) |= p_81;
                    }
                    else
                    { /* block id: 271 */
                        int8_t l_567 = 0x4AL;
                        int32_t l_571 = 0xAB8D16F8L;
                        int32_t l_573 = (-1L);
                        int32_t l_574 = 0xC6897522L;
                        int32_t l_575 = 0xF452816CL;
                        int16_t l_577 = 0L;
                        int32_t l_578 = 1L;
                        l_568++;
                        --l_582;
                        if ((*g_71))
                            continue;
                        if (p_81)
                            continue;
                    }
                    for (l_544 = 0; (l_544 <= (-4)); l_544--)
                    { /* block id: 279 */
                        if ((*l_551))
                            break;
                    }
                    for (l_568 = 0; (l_568 <= 3); l_568 += 1)
                    { /* block id: 284 */
                        (*g_592) = l_587;
                        (*g_149) ^= ((*l_551) = (l_564 ^= p_80));
                    }
                }
                if (p_80)
                { /* block id: 291 */
                    int32_t *l_593 = &l_554;
                    for (l_565 = 8; (l_565 >= 0); l_565 -= 1)
                    { /* block id: 294 */
                        (*g_590) = (*l_587);
                    }
                    l_593 = &l_572[7];
                }
                else
                { /* block id: 298 */
                    int16_t l_600 = 0L;
                    const uint32_t *l_611 = (void*)0;
                    int32_t l_618 = 0x61DE637AL;
                    int32_t l_620 = (-3L);
                    int32_t l_621 = 0x066BB52CL;
                    int32_t l_622[5] = {0x72D80CDCL,0x72D80CDCL,0x72D80CDCL,0x72D80CDCL,0x72D80CDCL};
                    int i;
                    if ((safe_rshift_func_int8_t_s_u(g_4, (((*l_493) != ((((((((*g_405) ^= (*l_494)) > ((((safe_mul_func_uint64_t_u_u(((*l_353) = 0x2B9DF8E0A70F1F29LL), ((safe_div_func_int64_t_s_s((g_358 , l_545), p_80)) >= (((g_31[0][0] >= 1UL) && p_80) < 0xAA4013D0L)))) , 0x6FBA55BEL) ^ (*g_200)) >= l_600)) , l_601[0][7]) == l_601[0][3]) , p_81) || 1L) && 0x7BFAB795L)) != (*l_493)))))
                    { /* block id: 301 */
                        const uint32_t **l_612 = &l_611;
                        struct S0 *l_614 = (void*)0;
                        struct S0 *l_615 = &g_242;
                        l_551 = ((safe_lshift_func_uint64_t_u_u((safe_mul_func_uint16_t_u_u(g_604.f0, (p_80 == (safe_rshift_func_int32_t_s_u(0xEB1CB732L, (g_31[0][0] || (0x8BL > 0x20L))))))), 13)) , ((((*l_612) = l_611) != (void*)0) , &l_565));
                        (*l_615) = g_613;
                    }
                    else
                    { /* block id: 305 */
                        uint32_t l_616 = 0x50D621DFL;
                        int32_t l_617 = (-1L);
                        int32_t l_619 = 0xEE4AB427L;
                        int32_t l_623[5] = {0xD5C4D138L,0xD5C4D138L,0xD5C4D138L,0xD5C4D138L,0xD5C4D138L};
                        int32_t l_625 = (-2L);
                        int i;
                        l_616 ^= 1L;
                        ++l_630;
                    }
                }
            }
        }
        for (l_466 = 20; (l_466 <= (-24)); l_466--)
        { /* block id: 314 */
            const uint32_t *l_637 = &g_22;
            const uint32_t **l_638 = &l_637;
            uint64_t l_646 = 0UL;
            int8_t *l_647 = &l_481;
            (*g_149) = ((((*l_647) = (((safe_mod_func_int8_t_s_s((((*l_638) = l_637) == ((p_81 >= (g_157 ^ (((g_639 = ((*l_357) = 0xE9L)) != ((safe_add_func_int8_t_s_s(((void*)0 != &g_473), (p_81 & (g_495 |= (1L <= (((((safe_add_func_int8_t_s_s((g_644 , 0xFCL), g_645)) && 0xB44E141A77E1395ALL) & 0x5EL) <= g_603[4][0].f0) || 0x15L)))))) > p_81)) != p_81))) , &g_639)), l_646)) | g_389[2][0][2]) <= (*g_200))) || l_646) ^ p_81);
        }
        (*g_149) = 0xFC3A8374L;
    }
    for (g_639 = 0; (g_639 <= 15); g_639++)
    { /* block id: 326 */
        uint8_t l_650 = 0UL;
        return l_650;
    }
    return (*g_190);
}


/* ------------------------------------------ */
/* 
 * reads : g_22 g_190 g_3 g_31 g_180 g_184.f0 g_43.f0 g_218 g_149 g_4 g_157 g_200 g_242 g_6 g_45
 * writes: g_22 g_191 g_218 g_157 g_45 g_3 g_4
 */
static uint16_t  func_82(const int32_t  p_83, int32_t * p_84, uint32_t  p_85, const uint32_t * p_86, int16_t  p_87)
{ /* block id: 80 */
    uint64_t l_197 = 0xE1C92445BC35386FLL;
    int16_t * const l_244 = &g_31[0][0];
    int32_t l_245[6] = {0L,0L,5L,0L,0L,5L};
    int32_t l_285 = 6L;
    uint32_t *l_331[9] = {&g_22,&g_22,&g_22,&g_22,&g_22,&g_22,&g_22,&g_22,&g_22};
    int16_t l_338[10] = {0x5FF6L,0x5FF6L,0x74F5L,0x5FF6L,0x5FF6L,0x74F5L,5L,5L,0x5FF6L,5L};
    uint16_t l_340 = 4UL;
    int i;
    for (g_22 = (-2); (g_22 != 46); g_22 = safe_add_func_int8_t_s_s(g_22, 8))
    { /* block id: 83 */
        int32_t l_194 = 0L;
        int32_t l_219 = 0xC5BA41FAL;
        uint32_t l_227 = 0x8684484BL;
        int32_t l_264 = 0x7122E45FL;
        int32_t l_337 = 0x8FB9F5E7L;
        int32_t l_339 = 1L;
        if (l_194)
        { /* block id: 84 */
            int32_t *l_198[2][7][1] = {{{(void*)0},{&g_6[0]},{(void*)0},{(void*)0},{(void*)0},{(void*)0},{(void*)0}},{{&g_6[0]},{(void*)0},{(void*)0},{(void*)0},{(void*)0},{(void*)0},{&g_6[0]}}};
            int i, j, k;
            if ((l_197 = (safe_add_func_uint16_t_u_u(p_87, (-4L)))))
            { /* block id: 86 */
                int32_t **l_201[1][7] = {{&g_200,&g_200,&l_198[1][3][0],&g_200,&g_200,&l_198[1][3][0],&g_200}};
                int i, j;
                l_198[0][6][0] = l_198[1][3][0];
            }
            else
            { /* block id: 88 */
                for (l_194 = 0; (l_194 < (-3)); l_194 = safe_sub_func_int32_t_s_s(l_194, 1))
                { /* block id: 91 */
                    int8_t l_212 = 1L;
                    for (l_197 = 25; (l_197 != 11); l_197 = safe_sub_func_int32_t_s_s(l_197, 7))
                    { /* block id: 94 */
                        int32_t l_215 = 0xF14B3650L;
                        int64_t *l_216 = (void*)0;
                        int64_t *l_217 = &g_218[4][2];
                        l_219 = (safe_mul_func_int16_t_s_s(((*g_190) = p_83), ((safe_sub_func_int64_t_s_s(g_3[0], g_31[0][1])) == (((*l_217) |= (safe_rshift_func_uint32_t_u_u((0x72EC5B22L & (l_212 ^= p_87)), ((safe_mul_func_uint32_t_u_u((((p_83 < p_85) , ((g_180[0] | l_215) & 65527UL)) != g_184.f0), g_43[0][2][0].f0)) > l_194)))) < (-1L)))));
                    }
                }
            }
        }
        else
        { /* block id: 102 */
            uint64_t *l_228 = (void*)0;
            uint64_t *l_229 = &g_157;
            int16_t *l_243 = &g_31[0][0];
            int32_t l_246 = (-10L);
            int32_t l_263 = (-5L);
            uint32_t l_265[7] = {0UL,0UL,0UL,0UL,0UL,0UL,0UL};
            int32_t **l_325 = (void*)0;
            int i;
            if ((*g_149))
                break;
            (*g_200) = (((p_87 || (((*l_229) = (safe_unary_minus_func_int16_t_s((safe_mul_func_int8_t_s_s((g_31[0][0] && ((((safe_mul_func_uint16_t_u_u((&g_218[4][1] != (g_3[1] , &g_218[0][2])), p_83)) == g_184.f0) , (((safe_rshift_func_uint32_t_u_u((l_194 ^ (l_197 | l_227)), g_218[5][3])) <= p_85) , g_157)) < g_157)), 0xE4L))))) < 0xD49E831240E19525LL)) & l_219) > p_87);
            (*g_149) = (safe_rshift_func_int8_t_s_s(((l_245[0] = (safe_mul_func_int8_t_s_s(g_31[0][1], (safe_mod_func_uint32_t_u_u((safe_unary_minus_func_uint8_t_u((((safe_rshift_func_uint8_t_u_u(((safe_rshift_func_uint16_t_u_u((!p_87), 9)) == ((g_242 , ((((((void*)0 != &p_83) & (-6L)) , l_243) != l_244) | (p_85 != g_6[0]))) | l_227)), p_85)) | p_85) | (-1L)))), l_197))))) < l_246), g_180[1]));
            for (l_197 = 0; (l_197 == 40); l_197 = safe_add_func_int64_t_s_s(l_197, 6))
            { /* block id: 110 */
                uint8_t *l_253 = &g_254[1];
                uint32_t *l_262[2][9] = {{(void*)0,&l_227,(void*)0,(void*)0,&l_227,(void*)0,(void*)0,&l_227,(void*)0},{&g_180[1],&l_227,&g_180[1],&g_180[1],&l_227,&g_180[1],&g_180[1],&l_227,&g_180[1]}};
                int32_t l_318 = 0x96371041L;
                int64_t *l_324[2][2][8] = {{{&g_218[1][1],&g_218[1][1],&g_218[5][3],&g_218[4][2],&g_218[5][3],&g_218[1][1],&g_218[1][1],&g_218[5][3]},{&g_218[4][2],&g_218[5][3],&g_218[5][3],&g_218[4][2],&g_218[4][0],&g_218[4][2],&g_218[5][3],&g_218[5][3]}},{{&g_218[5][3],&g_218[4][0],&g_218[4][2],&g_218[4][2],&g_218[4][0],&g_218[5][3],&g_218[4][0],&g_218[4][2]},{&g_218[4][2],&g_218[4][0],&g_218[4][2],&g_218[5][3],&g_218[5][3],&g_218[4][2],&g_218[4][0],&g_218[4][2]}}};
                int32_t *l_332 = &l_245[0];
                int32_t *l_333 = &l_245[0];
                int32_t *l_334 = &l_263;
                int32_t *l_335 = &l_219;
                int32_t *l_336[6][4][5] = {{{&g_6[0],&l_245[2],&l_245[2],&g_6[0],(void*)0},{&l_245[3],&g_6[0],&g_6[0],&l_264,&l_245[3]},{&l_245[0],&g_6[0],&l_263,&l_245[2],&l_219},{&g_6[0],&l_285,&l_245[2],&l_264,&g_45}},{{&l_219,(void*)0,&l_318,&g_6[0],&g_6[0]},{&l_245[0],&l_264,&l_245[0],&g_6[0],&l_245[3]},{&l_219,&l_245[0],&l_245[2],(void*)0,&l_245[0]},{&g_6[0],&g_6[0],&g_45,&g_6[0],&g_6[0]}},{{&l_245[0],(void*)0,&l_245[2],&l_245[0],&l_219},{&l_245[3],&g_6[0],&l_245[0],&l_264,&l_245[0]},{&g_6[0],&g_6[0],&l_318,(void*)0,&l_219},{&g_45,&l_264,&l_245[2],&l_285,&g_6[0]}},{{&l_219,&l_245[2],&l_263,&g_6[0],&l_245[0]},{&l_245[3],&l_264,&g_6[0],&g_6[0],&l_245[3]},{(void*)0,&g_6[0],&l_245[2],&l_245[2],&g_6[0]},{&g_6[0],&g_6[0],&l_245[2],&g_6[0],&g_45}},{{&g_6[0],(void*)0,&l_246,&g_6[0],&l_219},{&l_245[0],&g_6[0],&l_245[0],&l_285,&l_245[3]},{&g_6[0],&l_245[0],&l_263,(void*)0,(void*)0},{&g_6[0],&l_264,&g_45,&l_264,&g_6[0]}},{{(void*)0,(void*)0,&l_263,&l_245[0],&g_6[0]},{&l_245[3],&l_285,&l_245[0],&g_6[0],&g_6[0]},{(void*)0,&l_245[0],(void*)0,&l_245[2],&l_245[0]},{&l_245[0],&g_6[0],&g_45,&l_263,&g_45}}};
                int i, j, k;
            }
        }
        (*g_200) = (safe_mul_func_uint16_t_u_u(l_219, (safe_mul_func_uint32_t_u_u(l_227, g_180[1]))));
        if (p_85)
            continue;
        (*g_200) &= (safe_mod_func_uint16_t_u_u(l_338[8], l_340));
    }
    for (l_197 = (-14); (l_197 > 47); l_197 = safe_add_func_int32_t_s_s(l_197, 2))
    { /* block id: 140 */
        (*g_200) = 0L;
    }
    return l_245[0];
}


/* ------------------------------------------ */
/* 
 * reads : g_149 g_3 g_4
 * writes: g_3 g_4
 */
static uint32_t  func_88(int16_t * p_89, int32_t  p_90, int16_t  p_91, int16_t  p_92, int16_t * p_93)
{ /* block id: 77 */
    (*g_149) ^= p_91;
    return p_90;
}


/* ------------------------------------------ */
/* 
 * reads : g_22 g_41 g_71 g_45 g_3 g_31 g_120 g_157 g_6 g_180 g_4 g_184 g_185
 * writes: g_22 g_43 g_45 g_31 g_71 g_149 g_157 g_3 g_180
 */
static int16_t  func_94(uint32_t  p_95)
{ /* block id: 17 */
    uint8_t l_109 = 0x6AL;
    int32_t l_124 = 0xBC1B5E43L;
    int32_t l_125 = (-10L);
    int32_t l_127 = 0x278FAA54L;
    int32_t l_128 = 0xFF76FE41L;
    int16_t l_129 = 9L;
    int32_t l_131 = 0L;
    int32_t l_135 = 0xBF86D33BL;
    int32_t l_141 = 0x5EF769B8L;
    int32_t l_142[1][4][10] = {{{(-1L),(-7L),(-1L),(-1L),(-1L),(-7L),(-1L),0x8C208076L,0x8C208076L,(-1L)},{0x8C208076L,0xAEE789F3L,(-1L),(-1L),0xAEE789F3L,0x8C208076L,(-7L),0xAEE789F3L,(-7L),0x8C208076L},{1L,0xAEE789F3L,0x09C62979L,0xAEE789F3L,1L,0x09C62979L,(-1L),(-1L),0x09C62979L,1L},{1L,(-7L),(-7L),1L,(-1L),0x8C208076L,1L,0x8C208076L,(-1L),1L}}};
    int i, j, k;
    for (g_22 = (-19); (g_22 != 30); g_22++)
    { /* block id: 20 */
        struct S0 *l_98 = &g_43[0][3][0];
        if (p_95)
            break;
        (*l_98) = g_41[1][1];
    }
    for (g_22 = 21; (g_22 < 59); g_22++)
    { /* block id: 26 */
        int32_t *l_101[2];
        int16_t l_137 = 0xED94L;
        int i;
        for (i = 0; i < 2; i++)
            l_101[i] = &g_45;
        if (((*g_71) |= 9L))
        { /* block id: 28 */
            volatile int32_t *l_103 = &g_3[0];
            volatile int32_t **l_102 = &l_103;
            int32_t l_106 = 0xAF182F57L;
            int32_t l_130 = 0x86AF2FFEL;
            int32_t l_134 = (-6L);
            int32_t l_136 = 0xC174B887L;
            int32_t l_138 = 0L;
            int32_t l_139[8] = {(-1L),(-1L),(-1L),(-1L),(-1L),(-1L),(-1L),(-1L)};
            uint32_t l_146 = 1UL;
            int16_t *l_177[4][6][9] = {{{&g_31[0][0],&l_137,&g_31[0][0],&g_31[0][0],&l_137,&g_31[0][0],&g_31[0][0],&g_31[0][0],&l_137},{&g_31[0][0],&l_137,&l_137,&g_31[0][0],&l_129,(void*)0,&l_129,&g_31[0][0],&l_137},{&l_129,&l_129,&g_31[0][0],&l_137,(void*)0,&l_137,&g_31[0][0],&l_129,&l_129},{&l_137,&g_31[0][0],&l_129,(void*)0,&l_129,&g_31[0][0],&l_137,&l_137,&g_31[0][0]},{&l_137,&g_31[0][0],&g_31[0][0],&g_31[0][0],&l_137,&g_31[0][0],&g_31[0][0],&l_137,&g_31[0][0]},{&l_137,&l_129,&l_137,&g_31[0][0],(void*)0,(void*)0,&g_31[0][0],&l_137,&l_129}},{{&l_129,&g_31[0][0],&g_31[0][0],&g_31[0][0],&g_31[0][0],&g_31[0][0],&g_31[0][0],&l_129,&g_31[0][0]},{&g_31[0][0],(void*)0,&g_31[0][0],&g_31[0][0],(void*)0,&g_31[0][0],(void*)0,&g_31[0][0],(void*)0},{&g_31[0][0],&g_31[0][0],&g_31[0][0],&g_31[0][0],&l_129,&l_137,&l_129,&g_31[0][0],&g_31[0][0]},{&l_129,&l_129,(void*)0,(void*)0,&l_137,(void*)0,(void*)0,&l_129,&l_129},{&g_31[0][0],&g_31[0][0],&l_129,&l_137,&l_129,&g_31[0][0],&g_31[0][0],&g_31[0][0],&g_31[0][0]},{(void*)0,&g_31[0][0],(void*)0,&g_31[0][0],(void*)0,&g_31[0][0],&g_31[0][0],(void*)0,&g_31[0][0]}},{{&g_31[0][0],&l_129,&g_31[0][0],&g_31[0][0],&g_31[0][0],&g_31[0][0],&g_31[0][0],&g_31[0][0],&l_129},{&l_129,&l_137,&g_31[0][0],(void*)0,(void*)0,&g_31[0][0],&l_137,&l_129,&l_137},{&g_31[0][0],&l_137,&g_31[0][0],&g_31[0][0],&l_137,&g_31[0][0],&l_129,&g_31[0][0],&g_31[0][0]},{&l_137,(void*)0,(void*)0,&l_137,&l_137,&g_31[0][0],&l_137,&l_137,(void*)0},{(void*)0,(void*)0,&l_129,&g_31[0][0],&g_31[0][0],&g_31[0][0],&l_129,(void*)0,(void*)0},{(void*)0,&l_137,&l_137,&g_31[0][0],&l_137,&l_137,(void*)0,(void*)0,&l_137}},{{&g_31[0][0],&g_31[0][0],&l_129,&g_31[0][0],&g_31[0][0],&g_31[0][0],&g_31[0][0],&g_31[0][0],&g_31[0][0]},{(void*)0,&l_137,(void*)0,(void*)0,&l_129,&l_129,(void*)0,(void*)0,&l_137},{(void*)0,&l_137,&g_31[0][0],&l_129,&l_129,&g_31[0][0],&l_137,(void*)0,&l_137},{&l_137,&g_31[0][0],(void*)0,(void*)0,&g_31[0][0],&l_137,&l_129,&l_137,&g_31[0][0]},{&g_31[0][0],&l_137,&l_137,&g_31[0][0],(void*)0,&g_31[0][0],(void*)0,&g_31[0][0],&l_137},{&l_137,&l_137,&l_129,&g_31[0][0],&g_31[0][0],&g_31[0][0],&l_129,&l_137,&l_137}}};
            int i, j, k;
            (*l_102) = &g_3[1];
            for (p_95 = (-24); (p_95 > 24); ++p_95)
            { /* block id: 32 */
                int32_t l_107 = 0x8C34014CL;
                int32_t l_108 = 2L;
                volatile int32_t *l_112 = &g_5;
                int16_t *l_115 = &g_31[0][1];
                int32_t l_126[5] = {2L,2L,2L,2L,2L};
                int i;
                --l_109;
                l_112 = &g_5;
                g_45 |= ((*l_103) > ((*l_115) ^= ((safe_add_func_uint16_t_u_u(l_107, p_95)) & p_95)));
                for (g_45 = 0; (g_45 >= (-28)); g_45 = safe_sub_func_int64_t_s_s(g_45, 1))
                { /* block id: 39 */
                    int8_t l_132 = 1L;
                    int32_t l_133 = 0xBBC179A0L;
                    int32_t l_140 = 1L;
                    int32_t l_143 = 0x6B6318FCL;
                    int32_t l_144 = 4L;
                    int32_t l_145[5] = {(-6L),(-6L),(-6L),(-6L),(-6L)};
                    int i;
                    for (l_108 = (-4); (l_108 <= (-13)); --l_108)
                    { /* block id: 42 */
                        int32_t * volatile *l_122[8][7][4] = {{{&l_101[1],&l_101[0],&l_101[0],&l_101[0]},{&l_101[0],&l_101[0],(void*)0,&g_71},{(void*)0,(void*)0,&l_101[0],&l_101[1]},{&l_101[0],&l_101[1],&l_101[1],&l_101[0]},{&l_101[0],&l_101[1],&l_101[0],&l_101[1]},{&l_101[1],(void*)0,&l_101[0],&g_71},{(void*)0,&l_101[0],&l_101[1],&l_101[0]}},{{(void*)0,&l_101[0],&l_101[1],&l_101[1]},{(void*)0,&l_101[1],&l_101[1],(void*)0},{(void*)0,&l_101[1],&l_101[0],&l_101[1]},{&l_101[1],&l_101[0],&l_101[0],&g_71},{&l_101[0],(void*)0,&l_101[1],&g_71},{&l_101[0],&l_101[0],&l_101[0],&l_101[1]},{(void*)0,&l_101[1],(void*)0,(void*)0}},{{&l_101[0],&l_101[1],&l_101[0],&l_101[1]},{&l_101[1],&l_101[0],&l_101[0],&l_101[0]},{&l_101[0],&l_101[0],(void*)0,&g_71},{(void*)0,(void*)0,&l_101[0],&l_101[1]},{&l_101[0],&l_101[1],&l_101[1],&l_101[0]},{&l_101[0],&l_101[1],&l_101[0],&l_101[1]},{&l_101[1],(void*)0,&l_101[0],&g_71}},{{(void*)0,&l_101[0],&l_101[1],&l_101[0]},{(void*)0,&l_101[0],&l_101[1],&l_101[1]},{(void*)0,&l_101[1],&l_101[1],(void*)0},{(void*)0,&l_101[0],&l_101[0],&l_101[1]},{&l_101[0],(void*)0,&l_101[0],(void*)0},{&l_101[1],(void*)0,&l_101[1],(void*)0},{&l_101[0],(void*)0,&l_101[0],&l_101[1]}},{{&l_101[0],&l_101[0],(void*)0,&l_101[0]},{&l_101[1],&l_101[1],&l_101[0],&l_101[0]},{&l_101[1],(void*)0,&l_101[0],&l_101[0]},{&l_101[1],&l_101[1],(void*)0,(void*)0},{&l_101[0],&l_101[0],&l_101[0],&l_101[0]},{&l_101[0],&l_101[0],&l_101[1],&l_101[0]},{&l_101[1],&l_101[0],&l_101[0],&l_101[0]}},{{&l_101[0],&l_101[0],&l_101[0],(void*)0},{(void*)0,&l_101[1],&l_101[1],&l_101[0]},{&l_101[0],(void*)0,&g_71,&l_101[0]},{&l_101[0],&l_101[1],&l_101[1],&l_101[0]},{(void*)0,&l_101[0],&l_101[0],&l_101[1]},{&l_101[0],(void*)0,&l_101[0],(void*)0},{&l_101[1],(void*)0,&l_101[1],(void*)0}},{{&l_101[0],(void*)0,&l_101[0],&l_101[1]},{&l_101[0],&l_101[0],(void*)0,&l_101[0]},{&l_101[1],&l_101[1],&l_101[0],&l_101[0]},{&l_101[1],(void*)0,&l_101[0],&l_101[0]},{&l_101[1],&l_101[1],(void*)0,(void*)0},{&l_101[0],&l_101[0],&l_101[0],&l_101[0]},{&l_101[0],&l_101[0],&l_101[1],&l_101[0]}},{{&l_101[1],&l_101[0],&l_101[0],&l_101[0]},{&l_101[0],&l_101[0],&l_101[0],(void*)0},{(void*)0,&l_101[1],&l_101[1],&l_101[0]},{&l_101[0],(void*)0,&g_71,&l_101[0]},{&l_101[0],&l_101[1],&l_101[1],&l_101[0]},{(void*)0,&l_101[0],&l_101[0],&l_101[1]},{&l_101[0],(void*)0,&l_101[0],(void*)0}}};
                        int32_t * volatile *l_123 = &g_71;
                        int i, j, k;
                        (*l_123) = g_120;
                        (*l_123) = l_101[0];
                        if (p_95)
                            break;
                    }
                    l_146++;
                }
            }
            g_149 = &g_4;
            for (l_127 = (-27); (l_127 != (-4)); ++l_127)
            { /* block id: 53 */
                int64_t l_172[6] = {0xCDA5918F5825647FLL,0xCDA5918F5825647FLL,0xCDA5918F5825647FLL,0xCDA5918F5825647FLL,0xCDA5918F5825647FLL,0xCDA5918F5825647FLL};
                const int32_t l_183 = (-6L);
                int i;
                for (l_137 = 0; (l_137 != (-2)); l_137--)
                { /* block id: 56 */
                    uint64_t *l_156 = &g_157;
                    (*l_103) = (safe_mul_func_uint32_t_u_u((g_3[2] ^ (p_95 <= ((--(*l_156)) , (safe_rshift_func_uint8_t_u_u(g_45, 4))))), (safe_div_func_int32_t_s_s((safe_lshift_func_uint8_t_u_s((safe_mul_func_int8_t_s_s(g_22, l_130)), 6)), (safe_add_func_int32_t_s_s(((((((safe_div_func_uint32_t_u_u(l_172[4], l_139[2])) , 0x43L) , 0x302FL) == (-1L)) == g_41[1][1].f0) ^ 7UL), g_6[0]))))));
                }
                for (l_129 = 0; (l_129 <= 0); l_129 += 1)
                { /* block id: 62 */
                    int16_t *l_178[7][10] = {{(void*)0,&g_31[0][1],(void*)0,&l_137,&l_129,&g_31[0][0],&g_31[0][0],&g_31[0][0],&g_31[0][0],&g_31[0][1]},{&l_129,&g_31[0][0],(void*)0,&l_129,(void*)0,(void*)0,(void*)0,&g_31[0][0],(void*)0,(void*)0},{&l_129,&l_137,(void*)0,&l_137,&l_129,&l_137,&g_31[0][0],&l_137,&l_129,&g_31[0][0]},{&g_31[0][0],&g_31[0][0],&l_129,&g_31[0][1],&g_31[0][0],&g_31[0][0],&g_31[0][1],(void*)0,&g_31[0][0],&g_31[0][0]},{&g_31[0][1],&g_31[0][1],&g_31[0][0],(void*)0,&l_129,&l_129,&g_31[0][1],&g_31[0][1],(void*)0,(void*)0},{&l_137,(void*)0,&l_137,(void*)0,(void*)0,&l_137,(void*)0,&g_31[0][1],&g_31[0][1],(void*)0},{(void*)0,&l_129,&l_129,&l_129,&l_129,&l_137,&g_31[0][1],&l_129,(void*)0,&g_31[0][0]}};
                    uint32_t *l_179 = &g_180[1];
                    int i, j, k;
                    l_142[l_129][l_129][l_129] ^= g_3[l_129];
                    (**l_102) = g_3[(l_129 + 2)];
                    g_45 &= (g_3[(l_129 + 1)] && ((safe_mul_func_uint32_t_u_u((((((**l_102) != (g_31[0][0] , ((7UL || ((g_31[0][0] != ((l_177[2][1][8] == l_178[5][6]) <= ((*l_179)++))) == (l_183 , p_95))) != 0x775FL))) != 0x1C5C8A0353CAB266LL) && g_4) != 0xCFD49A66L), 2UL)) < g_6[0]));
                }
                (*g_71) = 0x25E6F1A9L;
            }
        }
        else
        { /* block id: 70 */
            l_131 &= p_95;
        }
    }
    (*g_185) = g_184;
    return l_125;
}




/* ---------------------------------------- */
int main (int argc, char* argv[])
{
    int i, j, k;
    int print_hash_value = 0;
    if (argc == 2 && strcmp(argv[1], "1") == 0) print_hash_value = 1;
    platform_main_begin();
    crc32_gentab();
    func_1();
    for (i = 0; i < 3; i++)
    {
        transparent_crc(g_3[i], "g_3[i]", print_hash_value);
        if (print_hash_value) printf("index = [%d]\n", i);

    }
    transparent_crc(g_4, "g_4", print_hash_value);
    transparent_crc(g_5, "g_5", print_hash_value);
    for (i = 0; i < 1; i++)
    {
        transparent_crc(g_6[i], "g_6[i]", print_hash_value);
        if (print_hash_value) printf("index = [%d]\n", i);

    }
    transparent_crc(g_22, "g_22", print_hash_value);
    for (i = 0; i < 1; i++)
    {
        for (j = 0; j < 2; j++)
        {
            transparent_crc(g_31[i][j], "g_31[i][j]", print_hash_value);
            if (print_hash_value) printf("index = [%d][%d]\n", i, j);

        }
    }
    for (i = 0; i < 4; i++)
    {
        for (j = 0; j < 2; j++)
        {
            transparent_crc(g_41[i][j].f0, "g_41[i][j].f0", print_hash_value);
            transparent_crc(g_41[i][j].f1, "g_41[i][j].f1", print_hash_value);
            if (print_hash_value) printf("index = [%d][%d]\n", i, j);

        }
    }
    for (i = 0; i < 1; i++)
    {
        for (j = 0; j < 4; j++)
        {
            for (k = 0; k < 3; k++)
            {
                transparent_crc(g_43[i][j][k].f0, "g_43[i][j][k].f0", print_hash_value);
                transparent_crc(g_43[i][j][k].f1, "g_43[i][j][k].f1", print_hash_value);
                if (print_hash_value) printf("index = [%d][%d][%d]\n", i, j, k);

            }
        }
    }
    transparent_crc(g_45, "g_45", print_hash_value);
    transparent_crc(g_157, "g_157", print_hash_value);
    for (i = 0; i < 2; i++)
    {
        transparent_crc(g_180[i], "g_180[i]", print_hash_value);
        if (print_hash_value) printf("index = [%d]\n", i);

    }
    transparent_crc(g_184.f0, "g_184.f0", print_hash_value);
    transparent_crc(g_184.f1, "g_184.f1", print_hash_value);
    for (i = 0; i < 9; i++)
    {
        transparent_crc(g_191[i], "g_191[i]", print_hash_value);
        if (print_hash_value) printf("index = [%d]\n", i);

    }
    for (i = 0; i < 6; i++)
    {
        for (j = 0; j < 4; j++)
        {
            transparent_crc(g_218[i][j], "g_218[i][j]", print_hash_value);
            if (print_hash_value) printf("index = [%d][%d]\n", i, j);

        }
    }
    transparent_crc(g_242.f0, "g_242.f0", print_hash_value);
    transparent_crc(g_242.f1, "g_242.f1", print_hash_value);
    for (i = 0; i < 4; i++)
    {
        transparent_crc(g_254[i], "g_254[i]", print_hash_value);
        if (print_hash_value) printf("index = [%d]\n", i);

    }
    transparent_crc(g_301.f0, "g_301.f0", print_hash_value);
    transparent_crc(g_301.f1, "g_301.f1", print_hash_value);
    transparent_crc(g_358, "g_358", print_hash_value);
    for (i = 0; i < 3; i++)
    {
        for (j = 0; j < 7; j++)
        {
            transparent_crc(g_359[i][j], "g_359[i][j]", print_hash_value);
            if (print_hash_value) printf("index = [%d][%d]\n", i, j);

        }
    }
    for (i = 0; i < 6; i++)
    {
        for (j = 0; j < 1; j++)
        {
            for (k = 0; k < 3; k++)
            {
                transparent_crc(g_389[i][j][k], "g_389[i][j][k]", print_hash_value);
                if (print_hash_value) printf("index = [%d][%d][%d]\n", i, j, k);

            }
        }
    }
    transparent_crc(g_391, "g_391", print_hash_value);
    transparent_crc(g_393.f0, "g_393.f0", print_hash_value);
    transparent_crc(g_393.f1, "g_393.f1", print_hash_value);
    transparent_crc(g_406, "g_406", print_hash_value);
    transparent_crc(g_411, "g_411", print_hash_value);
    transparent_crc(g_418, "g_418", print_hash_value);
    transparent_crc(g_448, "g_448", print_hash_value);
    transparent_crc(g_458, "g_458", print_hash_value);
    transparent_crc(g_495, "g_495", print_hash_value);
    transparent_crc(g_562.f0, "g_562.f0", print_hash_value);
    transparent_crc(g_562.f1, "g_562.f1", print_hash_value);
    transparent_crc(g_602.f0, "g_602.f0", print_hash_value);
    transparent_crc(g_602.f1, "g_602.f1", print_hash_value);
    for (i = 0; i < 5; i++)
    {
        for (j = 0; j < 5; j++)
        {
            transparent_crc(g_603[i][j].f0, "g_603[i][j].f0", print_hash_value);
            transparent_crc(g_603[i][j].f1, "g_603[i][j].f1", print_hash_value);
            if (print_hash_value) printf("index = [%d][%d]\n", i, j);

        }
    }
    transparent_crc(g_604.f0, "g_604.f0", print_hash_value);
    transparent_crc(g_604.f1, "g_604.f1", print_hash_value);
    transparent_crc(g_613.f0, "g_613.f0", print_hash_value);
    transparent_crc(g_613.f1, "g_613.f1", print_hash_value);
    transparent_crc(g_629, "g_629", print_hash_value);
    transparent_crc(g_639, "g_639", print_hash_value);
    transparent_crc(g_644.f0, "g_644.f0", print_hash_value);
    transparent_crc(g_644.f1, "g_644.f1", print_hash_value);
    transparent_crc(g_645, "g_645", print_hash_value);
    transparent_crc(g_653.f0, "g_653.f0", print_hash_value);
    transparent_crc(g_653.f1, "g_653.f1", print_hash_value);
    for (i = 0; i < 3; i++)
    {
        for (j = 0; j < 8; j++)
        {
            for (k = 0; k < 5; k++)
            {
                transparent_crc(g_676[i][j][k].f0, "g_676[i][j][k].f0", print_hash_value);
                transparent_crc(g_676[i][j][k].f1, "g_676[i][j][k].f1", print_hash_value);
                if (print_hash_value) printf("index = [%d][%d][%d]\n", i, j, k);

            }
        }
    }
    transparent_crc(g_705.f0, "g_705.f0", print_hash_value);
    transparent_crc(g_705.f1, "g_705.f1", print_hash_value);
    transparent_crc(g_862.f0, "g_862.f0", print_hash_value);
    transparent_crc(g_862.f1, "g_862.f1", print_hash_value);
    transparent_crc(g_864.f0, "g_864.f0", print_hash_value);
    transparent_crc(g_864.f1, "g_864.f1", print_hash_value);
    transparent_crc(g_869, "g_869", print_hash_value);
    transparent_crc(g_906, "g_906", print_hash_value);
    transparent_crc(g_969.f0, "g_969.f0", print_hash_value);
    transparent_crc(g_969.f1, "g_969.f1", print_hash_value);
    transparent_crc(g_975.f0, "g_975.f0", print_hash_value);
    transparent_crc(g_975.f1, "g_975.f1", print_hash_value);
    for (i = 0; i < 6; i++)
    {
        transparent_crc(g_1127[i], "g_1127[i]", print_hash_value);
        if (print_hash_value) printf("index = [%d]\n", i);

    }
    transparent_crc(g_1139.f0, "g_1139.f0", print_hash_value);
    transparent_crc(g_1139.f1, "g_1139.f1", print_hash_value);
    transparent_crc(g_1152.f0, "g_1152.f0", print_hash_value);
    transparent_crc(g_1152.f1, "g_1152.f1", print_hash_value);
    transparent_crc(g_1224, "g_1224", print_hash_value);
    transparent_crc(g_1318.f0, "g_1318.f0", print_hash_value);
    transparent_crc(g_1318.f1, "g_1318.f1", print_hash_value);
    transparent_crc(g_1363, "g_1363", print_hash_value);
    transparent_crc(g_1501.f0, "g_1501.f0", print_hash_value);
    transparent_crc(g_1501.f1, "g_1501.f1", print_hash_value);
    transparent_crc(g_1558.f0, "g_1558.f0", print_hash_value);
    transparent_crc(g_1558.f1, "g_1558.f1", print_hash_value);
    transparent_crc(g_1583.f0, "g_1583.f0", print_hash_value);
    transparent_crc(g_1583.f1, "g_1583.f1", print_hash_value);
    transparent_crc(g_1586.f0, "g_1586.f0", print_hash_value);
    transparent_crc(g_1586.f1, "g_1586.f1", print_hash_value);
    transparent_crc(g_1615.f0, "g_1615.f0", print_hash_value);
    transparent_crc(g_1615.f1, "g_1615.f1", print_hash_value);
    for (i = 0; i < 1; i++)
    {
        for (j = 0; j < 1; j++)
        {
            for (k = 0; k < 4; k++)
            {
                transparent_crc(g_1621[i][j][k], "g_1621[i][j][k]", print_hash_value);
                if (print_hash_value) printf("index = [%d][%d][%d]\n", i, j, k);

            }
        }
    }
    transparent_crc(g_1668.f0, "g_1668.f0", print_hash_value);
    transparent_crc(g_1668.f1, "g_1668.f1", print_hash_value);
    transparent_crc(g_1672.f0, "g_1672.f0", print_hash_value);
    transparent_crc(g_1672.f1, "g_1672.f1", print_hash_value);
    transparent_crc(g_1691.f0, "g_1691.f0", print_hash_value);
    transparent_crc(g_1691.f1, "g_1691.f1", print_hash_value);
    transparent_crc(g_1714.f0, "g_1714.f0", print_hash_value);
    transparent_crc(g_1714.f1, "g_1714.f1", print_hash_value);
    transparent_crc(g_1735.f0, "g_1735.f0", print_hash_value);
    transparent_crc(g_1735.f1, "g_1735.f1", print_hash_value);
    transparent_crc(g_1771, "g_1771", print_hash_value);
    transparent_crc(g_1774.f0, "g_1774.f0", print_hash_value);
    transparent_crc(g_1774.f1, "g_1774.f1", print_hash_value);
    transparent_crc(g_1775.f0, "g_1775.f0", print_hash_value);
    transparent_crc(g_1775.f1, "g_1775.f1", print_hash_value);
    transparent_crc(g_1850, "g_1850", print_hash_value);
    transparent_crc(g_1863.f0, "g_1863.f0", print_hash_value);
    transparent_crc(g_1863.f1, "g_1863.f1", print_hash_value);
    transparent_crc(g_1899, "g_1899", print_hash_value);
    transparent_crc(g_2054, "g_2054", print_hash_value);
    transparent_crc(g_2057.f0, "g_2057.f0", print_hash_value);
    transparent_crc(g_2057.f1, "g_2057.f1", print_hash_value);
    transparent_crc(g_2105, "g_2105", print_hash_value);
    transparent_crc(g_2111.f0, "g_2111.f0", print_hash_value);
    transparent_crc(g_2111.f1, "g_2111.f1", print_hash_value);
    transparent_crc(g_2132, "g_2132", print_hash_value);
    transparent_crc(g_2148.f0, "g_2148.f0", print_hash_value);
    transparent_crc(g_2148.f1, "g_2148.f1", print_hash_value);
    transparent_crc(g_2149.f0, "g_2149.f0", print_hash_value);
    transparent_crc(g_2149.f1, "g_2149.f1", print_hash_value);
    transparent_crc(g_2179, "g_2179", print_hash_value);
    transparent_crc(g_2223.f0, "g_2223.f0", print_hash_value);
    transparent_crc(g_2223.f1, "g_2223.f1", print_hash_value);
    transparent_crc(g_2267, "g_2267", print_hash_value);
    transparent_crc(g_2293, "g_2293", print_hash_value);
    for (i = 0; i < 7; i++)
    {
        for (j = 0; j < 7; j++)
        {
            for (k = 0; k < 5; k++)
            {
                transparent_crc(g_2294[i][j][k], "g_2294[i][j][k]", print_hash_value);
                if (print_hash_value) printf("index = [%d][%d][%d]\n", i, j, k);

            }
        }
    }
    transparent_crc(g_2384, "g_2384", print_hash_value);
    for (i = 0; i < 4; i++)
    {
        for (j = 0; j < 2; j++)
        {
            for (k = 0; k < 10; k++)
            {
                transparent_crc(g_2441[i][j][k].f0, "g_2441[i][j][k].f0", print_hash_value);
                transparent_crc(g_2441[i][j][k].f1, "g_2441[i][j][k].f1", print_hash_value);
                if (print_hash_value) printf("index = [%d][%d][%d]\n", i, j, k);

            }
        }
    }
    transparent_crc(g_2536.f0, "g_2536.f0", print_hash_value);
    transparent_crc(g_2536.f1, "g_2536.f1", print_hash_value);
    transparent_crc(g_2636, "g_2636", print_hash_value);
    transparent_crc(g_2637.f0, "g_2637.f0", print_hash_value);
    transparent_crc(g_2637.f1, "g_2637.f1", print_hash_value);
    transparent_crc(g_2639.f0, "g_2639.f0", print_hash_value);
    transparent_crc(g_2639.f1, "g_2639.f1", print_hash_value);
    transparent_crc(g_2681, "g_2681", print_hash_value);
    transparent_crc(g_2683, "g_2683", print_hash_value);
    transparent_crc(g_2732, "g_2732", print_hash_value);
    transparent_crc(g_2753.f0, "g_2753.f0", print_hash_value);
    transparent_crc(g_2753.f1, "g_2753.f1", print_hash_value);
    transparent_crc(g_2831.f0, "g_2831.f0", print_hash_value);
    transparent_crc(g_2831.f1, "g_2831.f1", print_hash_value);
    transparent_crc(g_2847, "g_2847", print_hash_value);
    transparent_crc(g_2903.f0, "g_2903.f0", print_hash_value);
    transparent_crc(g_2903.f1, "g_2903.f1", print_hash_value);
    transparent_crc(g_3036, "g_3036", print_hash_value);
    for (i = 0; i < 4; i++)
    {
        for (j = 0; j < 4; j++)
        {
            for (k = 0; k < 3; k++)
            {
                transparent_crc(g_3069[i][j][k].f0, "g_3069[i][j][k].f0", print_hash_value);
                transparent_crc(g_3069[i][j][k].f1, "g_3069[i][j][k].f1", print_hash_value);
                if (print_hash_value) printf("index = [%d][%d][%d]\n", i, j, k);

            }
        }
    }
    platform_main_end(crc32_context ^ 0xFFFFFFFFUL, print_hash_value);
    return 0;
}

/************************ statistics *************************
XXX max struct depth: 1
breakdown:
   depth: 0, occurrence: 732
   depth: 1, occurrence: 42
XXX total union variables: 0

XXX non-zero bitfields defined in structs: 2
XXX zero bitfields defined in structs: 0
XXX const bitfields defined in structs: 0
XXX volatile bitfields defined in structs: 1
XXX structs with bitfields in the program: 79
breakdown:
   indirect level: 0, occurrence: 42
   indirect level: 1, occurrence: 14
   indirect level: 2, occurrence: 9
   indirect level: 3, occurrence: 8
   indirect level: 4, occurrence: 4
   indirect level: 5, occurrence: 2
XXX full-bitfields structs in the program: 42
breakdown:
   indirect level: 0, occurrence: 42
XXX times a bitfields struct's address is taken: 62
XXX times a bitfields struct on LHS: 5
XXX times a bitfields struct on RHS: 45
XXX times a single bitfield on LHS: 0
XXX times a single bitfield on RHS: 97

XXX max expression depth: 40
breakdown:
   depth: 1, occurrence: 266
   depth: 2, occurrence: 78
   depth: 3, occurrence: 9
   depth: 4, occurrence: 2
   depth: 5, occurrence: 3
   depth: 10, occurrence: 1
   depth: 11, occurrence: 1
   depth: 12, occurrence: 1
   depth: 13, occurrence: 1
   depth: 14, occurrence: 1
   depth: 15, occurrence: 2
   depth: 16, occurrence: 1
   depth: 17, occurrence: 3
   depth: 18, occurrence: 2
   depth: 19, occurrence: 7
   depth: 20, occurrence: 5
   depth: 21, occurrence: 2
   depth: 22, occurrence: 3
   depth: 23, occurrence: 2
   depth: 24, occurrence: 1
   depth: 25, occurrence: 2
   depth: 26, occurrence: 2
   depth: 27, occurrence: 4
   depth: 28, occurrence: 1
   depth: 29, occurrence: 1
   depth: 32, occurrence: 2
   depth: 33, occurrence: 1
   depth: 34, occurrence: 1
   depth: 35, occurrence: 1
   depth: 39, occurrence: 1
   depth: 40, occurrence: 1

XXX total number of pointers: 672

XXX times a variable address is taken: 1658
XXX times a pointer is dereferenced on RHS: 481
breakdown:
   depth: 1, occurrence: 349
   depth: 2, occurrence: 112
   depth: 3, occurrence: 7
   depth: 4, occurrence: 7
   depth: 5, occurrence: 6
XXX times a pointer is dereferenced on LHS: 445
breakdown:
   depth: 1, occurrence: 398
   depth: 2, occurrence: 38
   depth: 3, occurrence: 1
   depth: 4, occurrence: 6
   depth: 5, occurrence: 2
XXX times a pointer is compared with null: 64
XXX times a pointer is compared with address of another variable: 13
XXX times a pointer is compared with another pointer: 18
XXX times a pointer is qualified to be dereferenced: 8431

XXX max dereference level: 5
breakdown:
   level: 0, occurrence: 0
   level: 1, occurrence: 1962
   level: 2, occurrence: 448
   level: 3, occurrence: 153
   level: 4, occurrence: 57
   level: 5, occurrence: 27
XXX number of pointers point to pointers: 301
XXX number of pointers point to scalars: 316
XXX number of pointers point to structs: 55
XXX percent of pointers has null in alias set: 30.2
XXX average alias set size: 1.42

XXX times a non-volatile is read: 2480
XXX times a non-volatile is write: 1204
XXX times a volatile is read: 275
XXX    times read thru a pointer: 98
XXX times a volatile is write: 126
XXX    times written thru a pointer: 63
XXX times a volatile is available for access: 5.45e+03
XXX percentage of non-volatile access: 90.2

XXX forward jumps: 0
XXX backward jumps: 11

XXX stmts: 273
XXX max block depth: 5
breakdown:
   depth: 0, occurrence: 33
   depth: 1, occurrence: 39
   depth: 2, occurrence: 50
   depth: 3, occurrence: 43
   depth: 4, occurrence: 53
   depth: 5, occurrence: 55

XXX percentage a fresh-made variable is used: 17.2
XXX percentage an existing variable is used: 82.8
FYI: the random generator makes assumptions about the integer size. See platform.info for more details.
********************* end of statistics **********************/

 /********************* This is a debug version  **********************/


/* Found checksum difference between compiler implementations */
/* gcc -O0 -w : 8C52B40B */
/* gcc -O1 -w : 8C52B40B */
/* gcc -O2 -w : CD95ABBD */
/* gcc -O3 -w : CD95ABBD */
/* gcc -Os -w : CD95ABBD */
/* clang -O0 -w : 8C52B40B */
/* clang -O1 -w : 8C52B40B */
/* clang -O2 -w : 8C52B40B */
/* clang -O3 -w : 8C52B40B */
/* clang -Os -w : 8C52B40B */
/* gcc-11 -O0 -w : 8C52B40B */
/* gcc-11 -O1 -w : 8C52B40B */
/* gcc-11 -O2 -w : 8C52B40B */
/* gcc-11 -O3 -w : 8C52B40B */
/* gcc-11 -Os -w : 8C52B40B */
/* clang-12 -O0 -w : 8C52B40B */
/* clang-12 -O1 -w : 8C52B40B */
/* clang-12 -O2 -w : 8C52B40B */
/* clang-12 -O3 -w : 8C52B40B */
/* clang-12 -Os -w : 8C52B40B */
/* please refer to http://embed.cs.utah.edu/csmith/using.html on how to report a bug */
